> From: Adria Stembridge [mailto:adrya.stembri...@gmail.com]
> Subject: Re: New to Tomcat -- SSL
> 
> Tomcat works under 8080 and 8443 currently.
> 
> Isn't there a way to forward 8443 to 443 with iptables?

Yes, that's frequently done.  From the Tomcat FAQ:

- Another way is to use Iptables to redirect Port 80 and 443 to user ports 
(>1024)
* /sbin/iptables -A FORWARD -p tcp --destination-port 443 -j ACCEPT
* /sbin/iptables -t nat -A PREROUTING -j REDIRECT -p tcp --destination-port 443 
--to-ports 8443
* /sbin/iptables -A FORWARD -p tcp --destination-port 80 -j ACCEPT
* /sbin/iptables -t nat -A PREROUTING -j REDIRECT -p tcp --destination-port 80 
--to-ports 8080
/sbin/iptables-save or /etc/init.d/iptables save

Consult the iptables man pages for details.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to