sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 sudo iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
then you can save the iptables so they stick after reboot: sudo service iptables save On 2 March 2018 at 15:08, Cheltenham, Chris <ccheltenham-...@philasd.org> wrote: > Hello, > > > > Has anyone set up tomcat as a non-root use? > > > > I have set it up successfully however, I have to bound the non-root user > to port 8443. > > > > What is the best way to reroute 8443 through 443? > > There are several options. > > Everything is set up at send to port 443 so I need to reroute 8443 in and > out of 443 > > > > CentOS 7 by the way – > > > > > > =========================== > > Thank You; > > Chris Cheltenham > Technology Services > The School District of Philadelphia > > Work # 215-400-5025 > Cell # 215-301-6571 > -- Johan Compagner Servoy