HAProxy Enterprise Documentation 13.5

Layer 4 Load Balancing

Layer 4 load balancing with HAProxy ALOHA leverages Linux Virtual Server (LVS), which runs either in gateway mode, where traffic is directly routed, or in NAT mode.

You can set up four different network architectures, depending on your Layer 4 load balancing needs.


Get an overivew of layer 4 load balancing architectures.

Direct Server Return

Respond directly to clients without returning through the load balancer.

UDP Load Balancing

Load balance UDP traffic.

TCP Load Balancing

Load balance TCP traffic.

Next up