How-To: Redirecting network traffic to a new IP using IPtables

While
doing a server migration, it happens that some traffic still go to the
old machine because the DNS servers are not yet synced or simply
because some people are using the IP address instead of the domain
name….

By using iptables and its masquerade feature, it is possible to forward all traffic to the old server to the new IP.

This tutorial will show which command lines are required to make this possible.

read more

Advertisements