Port forwarding from one public IP to another public IP
Let’s say you wanted to forward a port to another host that has an external IP (public facing like yours), this is how you would do that: sudo iptables -t nat -A PREROUTING -i eth0 -p tcp –dport $port -j LOG –log-prefix=”PreRouting $port..:” sudo iptables -t nat -A PREROUTING -i eth0 -p tcp –dport $port…