Example of using iptables rules to redirect port 80 to 8181
CA Performance Management NetOps Portal
The following is an example of redirecting port 80 to 8181 using iptables:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8181
Note that you should have a full understanding of the iptables firewall including any
exiting rules you have to ensure compatibility with your environment
iptables project page:
https://netfilter.org/projects/iptables/index.html