I like to route all data that is coming in at one IP address of my server to another IP address somewhere else on the internet.
For example:
My server has 2 IP addresses: 1.1.1.1 and 2.2.2.2
All the data that is coming in at IP address 2.2.2.2 should be forwarded to adres 3.3.3.3 (this address it not in my network)
So if I surf with a browser to
http://2.2.2.2/ this should be the same outcome as going to
http://3.3.3.3/
I like to do this from within the console of a centos linux distro.