- Enable IP Forward
#echo 1 > /proc/sys/net/ipv4/ip_forward - Clear ip table
#iptables -F -t nat
- Using ip tables to create internet packet routing
#iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
#iptables --append FORWARD --in-interface wlan0 -j ACCEPT - Restart network
/etc/init.d/networking restart
Note:
I'm using Ubuntu 10.10 (Maverick) 32 bit
No comments:
Post a Comment