0

There is two main options for load-balancing in OPNsense (and pfSense): relayd and haproxy. pfSense has removed relayd in favour of haproxy [1,2], but OPNsense still supports it. In what usecases we should prefer using haproxy over relayd (or vice versa)?

P.S. Personally (despite the notes in [1]) I think relayd is a more fittable solution for a firewall, because it uses NAT to load balance, and thus consuming less resources (both CPU and RAM), also states are synced in a HA setup. haproxy gives more options to load balance, but it's more suspectable to misfunction in a high-load environment.

Taha Jahangir
  • 2,012
  • 1
  • 15
  • 16

0 Answers0