> > * dude (dude@deletia.com) [010715 18:17]: > > <snip> > > > So my question is: > > > Why doesnt LINE A work? > > <snip> > > > INTERNAL_NETWORK=192.168.2.1/27 > > > #LINE A > > > $IPTABLES -t nat -s $INTERNAL_NETWORK -d ! $INTERNAL_NETWORK -o $EXTERNAL_IFACE -j MASQUERADE > > > > > > #LINE B > > > #iptables -t nat -A POSTROUTING -j MASQUERADE > > > > > <snip> Woops, I see it now. Line A is missing a clause: -A POSTROUTING Sorry about that. That's what I get for posting it before I tested it! Vineet
Attachment:
pgph28qqrQDu1.pgp
Description: PGP signature