# Now, to forward port 9999 on host 192.168.202.103 to port 80 on host 192.168.202.105
# we need to add the following rules to the iptables configuration of host 192.168.202.103:
sudo iptables -t nat -A PREROUTING -p tcp --dport 9999 -j DNAT --to-d[......]
iptables本地端口转发到远程端口
Leave a reply