[ale] Within-Box Port Forwarding

JK jknapka at kneuro.net
Mon Feb 25 11:07:55 EST 2008


Jeff Hubbs wrote:
> I think I got it...
> 
> iptables -t nat -a PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 80

You probably meant "--to-ports 8080" here.

-- JK

> iptables -t nat -a PREROUTING -p tcp -j ACCEPT -m state --state NEW 
> --dport 80

"Trim, trim, trim, trim the extraneous quotes..." -- Elan, OotS

-- 
"What can be asserted without evidence can also be
dismissed without evidence." -- Christopher Hitchens


More information about the Ale mailing list