[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Within-Box Port Forwarding
- Subject: [ale] Within-Box Port Forwarding
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Mon, 25 Feb 2008 14:51:10 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Mon, 2008-02-25 at 14:10 -0500, ale-request at ale.org wrote:
> Would require running Tomcat as root - a Bad Thing.
Are you sure. Technically tomcat is not bound to port 80. It is on
8080 which is above the 1024 rule. He just needs a rule that will
direct 80 -> 8080
Try this:
iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 --dport 80 -j
REDIRECT --to-ports 8080