Re: NAT & forwarding : only partial connections
Hello!
If you use ADSL, you are connected via eth0. The correct parameter is
nat and not NAT. Is the FORWARD chain configured as ACCEPT? Try it:
#iptables -F
#iptables -t nat -F
#iptables -P FORWARD ACCEPT
#iptables -P POSTROUTING ACCEPT
#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Assuming that your net is 10.0.0.0/255.0.0.0. You can swap the last line to:
#iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE
If this to work fine, configures the rules better.
Regards,
Eriberto
Francesco Bochicchio escreveu:
Laptop <-wireless-> PC+ADSL Modem< phone lines> Provider<..>Internet
Reply to: