[olug] Port Forwarding

Jon thechunk at thechunk.dhs.org
Sat Jun 30 22:41:42 UTC 2001


quick and dirty nat forwarding with 2.4 and iptables
/usr/sbin/iptables -t nat -A POSTROUTING -o $INET_IFACE -j MASQUERADE
/usr/sbin/iptables -t nat -A PREROUTING -p tcp -d $STATIC_IP \
    --dport 1080 -j DNAT --to 192.168.1.2:80

On Sat, Jun 30, 2001 at 03:09:51PM -0500, LP wrote:
> Im using the RH  2.4.2-2 kernal and I'm searching the web for information 
> on port forwarding.
> 
> Any good site you would suggest?
> 
> Gregg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net

---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list