But everything looks quite normal, except for that packets aren't
routed. So its up to somebody else to tell exactly what that "policy"
module in iptables does -- and how. I don't have answers left here --
except for the case that a manual iptables setup is sufficient.
Personally, I'm quite happy with
$ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
$ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
for the forwarding. All that fancy-schmanzy stuff that shorewall does
isn't in there, granted.
Thanks, so i think that i have to get familiar with iptables itself,
because i want to some more than routing. I will try this rules in the
evening and tell you if it works.
--
gentoo-user@gentoo.org mailing list