Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to install and use iodine for DNS tunneling.


We need some records on our domain ( DNS for connections. Add these records:

t1              IN      NS ; note final the dot!
t1ns            IN      A       OUR_SERVER_IP


Install the iodine package, run the server with a password and an unused range ip address.

sudo aptitude install iodine
sudo iodined -f -c -P apassword &

##Linux client

Install iodine and establish a connection with the server via DNS tunnelling. Then forward the 9999 port via ssh your server to act as a proxy for connections (connect with your server user and password).

sudo iodine -f -P apassword &
ssh user@ -D 9999


Configure your proxy settings for socks 5 proxy localhost port 9999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment