netstat on RedHat 7.2, IP MASQ
Eric Rossiter
rossiter at discoverynet.com
Mon Apr 8 21:05:04 CDT 2002
Brian Densmore wrote:
>
> Iptables doesn't do ip_masquerade. ip_masquerade was a partial solution
> hack to do
> NAT. Masquerading is accomplished by using the NAT rules.
>
> You need these rules if you want to masquerade your lan connections to
> the internet.
> iptables -A FORWARD blah
>
> Brian
any questions one may have on iptables can be answered at:
www.linuxguruz.org/iptables
One line IP masq.
#Masquerade from Internal Net to External Net
$IPTABLES -A POSTROUTING -t nat -o $EXTIF -j MASQUERADE
HTH,
Eric
More information about the Kclug
mailing list