[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Within-Box Port Forwarding

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  --dport 80 -j
REDIRECT --to-ports 8080