[CentOS] Forward http traffic

Wed Jan 8 16:32:40 UTC 2014
Darr247 <darr247 at gmail.com>

On 2014-01-08 8:02 AM, Nikolaos Milas wrote:
> Actually, I don't want load balancing; I want incoming http traffic 
> (to port 8080) to be forwarded to *ALL* defined target IP addresses.

Sometimes the correct answer is, "you can't do that."  :)

You can talk TO port 80 on all the defined target IP addresses, but not 
FROM port 8080 on a single IP address.

You could define a different outside port to forward to port 80 on each 
internal IP address, though.
e.g.
forward 8081 to 80 on machine1
forward 8082 to 80 on machine2
forward 8083 to 80 on machine3
forward 8084 to 80 on machine4
forward 8085 to 80 on machine5
et cetera