Thread: DNS Tunnel
View Single Post
Posts: 18 | Thanked: 3 times | Joined on Mar 2007 @ Göteborg, Sweden
#60
Originally Posted by debernardis View Post
Iodine on my IT starts and seems to connect with iodined on my server, in fact the password is handshaken rightly. I delete the default gw and add a new default gw with the dns0 address but... can't connect out on the internet.
I run iodined on a server behind a NAT router. The trick is to enable IP forwarding on the server
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
To make this permanent you have to edit a config file or a startup script depending on your distro.
You also need to add a route back to the server from the router. If you have shell access on your router this will be something like
Code:
route add -net 10.9.0.0 netmask 255.255.255.0 gw 192.168.0.10 br0
It should also be possible to set up the route using the web interface of the router.