Hi, today I able to migrate some of the game servers to another server and needed some help to redirect the traffic from old ip to the new one.
SERVER1 126.96.36.199 ----- (internet ) -----> SERVER 188.8.131.52
I asume to use iptables to perform this, for that used this rule on my centOS box in the server1.
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -d 184.108.40.206 \
-p udp --dport 27015 -j SNAT --to 220.127.116.11
But the client cannot connect to the server from the old ip, the redirection don't started.