IPChains

Chris Midkiff beavis_kc at yahoo.com
Thu Nov 2 00:19:06 CST 2000


Command would be something like the following:

ipmasqadm portfw -a -P tcp -L $IPADDR 80 -R
192.168.1.2 80

with 192.168.1.2 being the web server's internal
address and $IPADDR being the gateway's external
address.  This would allow all trafic to port 80 to be
forwarded to the private web server.

I take it you already have an rc.firewall or something
similar running the ipchain commands, just put this
line in after the masquerading commands.

Chris Midkiff
cmidkiff at datacaptech.com

__________________________________________________
Do You Yahoo!?
>From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/




More information about the Kclug mailing list