I have the following problem:
I want to use a linux box as a gateway to the internet. It is connected through a DSL (dialup) connection (ppp0 -> eth1).
I want to have access from clients connected to this machine through wireless connections. There is a notebook, running Windows2000. I can ping the linux box and vice versa. Trying to surf to e.g. www.google.com
What I have done so far:
Linux (fedora, kernel 2.6.8) IP on device atml0 (this is the wireless device): 192.168.0.1
Win2k IP: 192.168.0.99
DNS AND gateway on Win2K: 192.168.0.1
$IPTABLES -F -t nat
$IPTABLES -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forw
Whats wrong? Can anybody help?