i do the following :
1)sudo ifconfig eth0 192:168.2.1
2)sudo iptables -t nat -A POSTROUTING -ppp0 -j MASQUERADE
this my modem i get : iptables v1.4.1.1: unknown protocol `-ppp0' specified
Try `iptables -h' or 'iptables --help' for more information.
3)sudo echo 1 > /proc/sys/net/ipv4/ip_forward
i get : bash: /proc/sys/net/ipv4/ip_forward: Permission denied
4) next i have to install dnsmasq ipmasq and restart and reconfigure
works fine .
5)sudo ifconfig eth0 192.168.2.1
6)# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE same as 2
7) sudo echo 1 > /proc/sys/net/ipv4/ip_forward same as 3
Add the line “net.ipv4.ip_forward = 1″ to /etc/sysctl.conf work fine
help please
thank you



