options { port 5000; ifconfig /sbin/ifconfig; route /sbin/route; # firewall /sbin/ipchains; } default { compress no; speed 0; } # # This is the client. Run 'vtund home server.address.net' to start it. # # Alternately, setup an ssh tunnel with: # # ssh server -L5000:localhost:5000 -fN # # ...and run 'vtun home localhost' on the client. # home { type tun; proto tcp; keepalive yes; pass SeCrEt; # Password is REQUIRED. Damnit. up { ifconfig "%% 10.42.254.2 pointopoint 10.42.254.1"; # route "add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.2"; # program /sbin/arp "-sD 192.168.0.2 eth0 pub"; }; }