Skip to content

iodine

IPv4-over-DNS tunnel for getting online where only DNS queries get through

Permissive (OSI) · ISC
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

58

Health

Active

Overview

Stars

8,045

Last commit

yesterday

Nov 2026

Repository age

14 years

since Feb 2012

Latest version

v0.9.1

Nov 2026

Contributors

–

1 active in 90 days

Releases

2

last 12 months

Language

C

iodine tunnels IPv4 traffic through a DNS server. It is useful on networks where internet access is firewalled but DNS queries are still allowed. It has been developed since 2012 and is written in C under the ISC license.

There are two programs. iodined runs on a server with a public IP address and a domain you control. You delegate a subdomain to it with an NS record, and it creates a tun interface and listens on UDP port 53. The iodine client connects through a relaying nameserver, and both sides get tunnel IP addresses. Both ends share a password, and they must run the same version because the protocol is not backward compatible.

It builds with meson and ninja, and a test suite uses the check library. It runs on Linux and macOS, and is available through a Homebrew formula. The project also targets the BSDs. It is a niche tool rather than a replacement for a specific commercial product, though it serves a role similar to a VPN.

Who it's for

Travelers stuck behind captive portals

DNS often works when other traffic is blocked, and iodine carries IP traffic through it.

Skip if: You have a normal VPN option that works on the network.

Network and security testers

It lets you test whether DNS filtering can be bypassed with a tunnel.

Skip if: You need a high-throughput, general-purpose VPN.

Sysadmins comfortable with DNS zones

Setup is a subdomain delegation plus one server daemon.

Skip if: You do not control a domain or a server with a public IP.

The problem it solves

On some networks only DNS lookups leave the building, so normal internet access is blocked. iodine wraps IPv4 traffic in DNS queries so you can reach a server of your own.

Strengths

  • Works where only DNS queries are allowed through the firewall
  • Small C codebase under the permissive ISC license
  • Runs on Linux and macOS, with Homebrew packaging
  • Password protects the tunnel between client and server

Trade-offs

  • Needs your own domain and a server with a public IP
  • Client and server must run the exact same version
  • Built-in DNS forwarding is not advised for production use
  • Command-line only; no graphical interface

Self-host iodine

Self-hostable
Yes

Quick start

meson setup build
cd build
ninja

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is iodine free?

Yes. It is open source under the ISC license.

Which platforms does it run on?

Linux and macOS, and it is also aimed at FreeBSD, NetBSD and OpenBSD.

What do I need on the server side?

A domain you control and a server with a public IP running iodined, with a subdomain delegated to it via an NS record.

Can the client and server use different versions?

Generally no. Both must speak the same protocol, which usually means the same iodine version.

Similar tools in Tunnels, VPNs and networking

external-dns

Tunnels, VPNs and networking

Kubernetes controller that syncs Services and Ingresses to DNS providers like Route 53

9.2k 3k today Thriving Apache-2.0

ztnet

Tunnels, VPNs and networking

Self-hosted web UI for managing ZeroTier networks with multi-user and organization support

1.3k 129 5 days ago Thriving GPL-3.0

ZeroTierOne

Tunnels, VPNs and networking

Virtual Ethernet network linking devices, VMs and containers, with self-hostable

17k 2k 4 months ago Dormant Unknown

Replaces Tailscale

hookdeck-cli

Tunnels, VPNs and networking

Command-line tool that forwards webhooks to localhost with permanent free event URLs

371 25 8 days ago Thriving Apache-2.0

yggdrasil-go

Tunnels, VPNs and networking

5.6k 366 30 days ago Active LGPL-3.0

Octelium

Tunnels, VPNs and networking

Self-hosted zero trust platform for VPN, tunnels and API gateway use

4.2k 163 today Thriving AGPL-3.0

Replaces NgrokCloudflareTailscale