HAProxy community

Balance members talking outbound through loadbalancer

Do load balance members pass all of their outbound traffic back through the load-balancer to talk with the outside world?

I have an app that’s load-balanced between 3 round robin members. If I SSH to one of those members and ping the app, it seems that my source IP is showing up in traffic monitors as the load-balancer, not the member. That’s causing some issues setting up firewall rules. Then I noticed that if I hit an outside resource from one of the load-balanced members, it looks like I am coming from the public IP address assigned to the load-balancer.

None of this has anything to do with haproxy, which only handles inbound traffic. You need to check your network configuration, especially the NAT configuration.