[ale] Within-Box Port Forwarding

Jeff Hubbs hbbs at comcast.net
Mon Feb 25 12:25:19 EST 2008


Would require running Tomcat as root - a Bad Thing.

Jerry Yu wrote:
> The response traffic is tracked by iptables/kernel. so you need to 
> worry about only one direction.
> why not configure the http connector for Tomcat to listen at 80 
> instead?  Less  hoops to jump when time comes to troubleshoot.
>
> On Mon, Feb 25, 2008 at 8:02 AM, Jeff Hubbs <hbbs at comcast.net 
> <mailto:hbbs at comcast.net>> wrote:
>
>     All the docs I'm finding about port forwarding using iptables assumes
>     configuring a firewall.  What would the iptables command(s) look
>     like to
>     forward inbound port 80 such that Tomcat on the same machine,
>     running on
>     port 8080, sees and responds to the traffic?  Would there be two
>     commands, one for each direction?
>
>
>     _______________________________________________
>     Ale mailing list
>     Ale at ale.org <mailto:Ale at ale.org>
>     http://mail.ale.org/mailman/listinfo/ale
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>   



More information about the Ale mailing list