Rainer Traut wrote :
> I've looked around in docs.redhat.com but found nothing so far.
> What's best practice to run standalone tomcat on port 443 without apache
> in front?
>
> There are a couple of choices...
> like run as root (bad) or iptables in front.
> But which is the preferred 'redhat way'?
Between the "good" and "bad" choices, I'm guessing it'll be up to you
to decide. But a bit of common sense should make that easy :-)
And you seem to already know the answer, but just in case :
iptables -t nat -I PREROUTING 1 \
-p tcp --dport 443 -j REDIRECT --to-ports $my_tomcat_port
service iptables save
This is common practice for just about any standalone tcp server which
isn't started as root and needs to be accessed on a privileged port.
Matthias
--
Matthias Saou - http://matthias.saou.eu/
_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list