Open main menu, an OpenBSD-based firewall β


Load balancing

4 bytes removed, 12:40, 26 March 2012
no edit summary
Layer 3 load balancing is implemented as a firewall port forward, which is very efficient, and therefore gives layer 3 load balancing a performance advantage over layer 4+. Because of its implementation, it '''requires the firewall to be started''' (simply check if there are any firewall rules in the configuration). Also because if this, it's normally not necessary to add any additional firewall rules. Further, it's necessary that the load balancer is the default route (gateway) of the servers being load balanced, since the source packets of the incoming traffic is maintained. In order words, the topology would look something like:
-> Server1
Internet -> Halon -> Switch -> Server2
-> Server3
To add a layer 3 load balancer, follow these steps