Hey all,

Has anybody sucessfuly migrated their ipchains rules to iptables?

I changed mine to suit the syntax and tried it out.... no go. it looked as
though it didn't do the NAT properly...
anybody got some hints..??

I have 2 NICS where  eth0 is internal and eth1 is external.

ANYWHERE="0/0"
EXTDEV="eth2"
INTSN="192.168.0.0/24"

 /sbin/iptables -A POSTROUTING -t nat -o $EXTDEV -s $INTSN        -d
$ANYWHERE                    -j MASQUERADE

Is this a short quick masquerade?

thanks,
George.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to