In Ubuntu to do (preferably without tunnels) to the application (client) when trying to connect to ip1:port ip2 is connected to the port?
Whether it be TCP or UDP.
Should only for a specific port.
Using iptables or something.
asked June 5th 19 at 21:11
iptables-t nat -A PREROUTING policy --dport 1 -j DNAT --to-destination 220.127.116.11:1
Well forwarding enable /proc/sys/net/ipv4/ip_forward
Find more questions by tags IptablesLinuxUbuntu