IP to IP forwarding with iptables [centos]
- by FunkyChicken
I have 2 servers. Server 1 with ip 1.1.1.1 and server 2 with ip 2.2.2.2
My domain example.com points to 1.1.1.1 at the moment, but very soon I'm going to switch to ip 2.2.2.2. I have already setup a low TTL for domain example.com, but some people will still hit the old ip a after I change the ip address of the domain.
Now both machines run centos…