Ubuntu – IPtables – redirect port to different IP Read IP tables; iptables -t nat -L -n -v For redirecting port to different IP and port echo “1” > /proc/sys/net/ipv4/ip_forward Then, we will add a rule telling to forward the traffic on port 1111 to ip 2.2.2.2 on port 1111: # iptables -t […]