I am looking to create a load balancing server. Essentially here is what I want to do:
I have a public IP address, lets say 188.8.131.52 I have a second public IP address, lets say 184.108.40.206. I have a website, www.f.com point to 220.127.116.11 via an A record. I want that Ubuntu server to forward traffic like this:
- Port 80 traffic is forwarded to 18.104.22.168 on port 60,000 and port 60,001.
- Port 443 traffic is forwaded to 22.214.171.124 on port 60,010 and port 60,011.
- Port 25 traffic is forwared to 126.96.36.199 on port 60,020 and port 60,021
The port forwarding is more important then being able to load balance.
I look forward to some responses. Both server 188.8.131.52 and 184.108.40.206 are both running Ubuntu 12.04 server edition.