[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Within-Box Port Forwarding
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