# below rule listen to redirect port 81 to port 80
# therefore, both port 80 and port 81 connect to the same service
iptables -t nat -A PREROUTING -p tcp –dport 81 -j REDIRECT –to-ports 80
# below rule listen to redirect port 81 to port 80
# therefore, both port 80 and port 81 connect to the same service
iptables -t nat -A PREROUTING -p tcp –dport 81 -j REDIRECT –to-ports 80