Cannot redirect traffic to new IP with iptables on centOS
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 22.214.171.124 ----- (internet ) -----> SERVER 126.96.36.199
I asume to use iptables to perform this, for that used this rule on my centOS box in the server1.
But the client cannot connect to the server from the old ip, the redirection don't started.
You need to use PREROUTING to redirect incoming traffic.
Here is a tutorial for doing the same thing: http://www.debuntu.org/how-to-redire...using-iptables
|All times are GMT -5. The time now is 11:23 PM.|