Code:
iptables -P FORWARD DROP
iptables -A FORWARD -i ppp0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i etho -o ppp0 -j ACCEPT
But even if I set FORWARD to ACCEPT, it doesn't work...
EDIT: oops, I was wrong. If I set FORWARD to ACCEPT it actually works.
Thanks for that hint.
How should I modify my rules to allow LAN (eth0) access to the internet (ppp0)?
I thougt that the last FORWARD rule would be sufficient.
EDIT 2: Stupid typo... I wrote etho instead of eth0.
Now it works just well. Anyway, thanks for all replies.