Skip to content

Instantly share code, notes, and snippets.

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

##Domain

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

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

##Server

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 10.0.1.1 t1.mydomain.com &

##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 t1.mydomain.com &
ssh user@10.0.1.1 -D 9999

##Browser

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
You can’t perform that action at this time.