tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adria Stembridge <adrya.stembri...@gmail.com>
Subject Re: New to Tomcat -- SSL
Date Sat, 12 Dec 2009 19:01:03 GMT
Success.

iptables -save &  iptables-save weren't saving the changes.  Issuing *service
itptables save* did the trick.    Tomcat is now running over ports 80 & 443.

Thanks for everyone's assistance.

a


On Sat, Dec 12, 2009 at 1:36 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Adria Stembridge [mailto:adrya.stembridge@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message