[olug] firewall port forwarding

Phil Brutsche pbrutsch at creighton.edu
Fri Jul 14 16:26:52 UTC 2000


A long time ago, in a galaxy far, far way, someone said...

> 	I'd like to have requests to my external IP (port 80) forwarded
> to an internal IP (port 80). Do I do this with ifconfig? Or what?

I'll assume you use the stock RedHat kernels and say "ipmasqadm"

Quick and dirty, this is the command you run as root:

ipmasqadm portfw -a -P tcp -L <external ip> 80 -R <internal ip> 80

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch at creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


---------------------------------------------------------------------
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