us network and Uuntu 8.10 - is there a better way?
kimaidou at gmail.com
Tue Nov 25 09:47:26 CET 2008
Personaly I lauch this script after pluging the FR:
sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sudo sysctl -w net.ipv4.ip_forward=1
sudo ip addr add 192.168.0.200/24 dev usb0
sudo ifconfig usb0 up
ssh root at 192.168.0.202
echo nameserver 126.96.36.199 > /etc/resolv.conf
I collect the different lines on the wiki, and it works well for me. Could
you give it a try ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the community