Join GitHub today
net/haproxy: add HAProxy load balancer to plugins #10
This adds the popular HAProxy load balancer to OPNsense. It allows for far more complex configurations and has a superior feature-set when compared to the (included) relayd load balancer.
Wording/language improvements, code reviews and suggestions are very very welcome!
Sponsored by: markt.de
Besides that some more complex configurations may be a bit tricky on first attempt (especially ACLs/Actions): All possible parameters are always visible, even if they are not usable in this combination, which can be quite confusing. I hope this will be fixed alongside opnsense/core#870.
I consider this plugin to be ALPHA quality software. While the code was tested fairly well, the resulting HAProxy configuration may contain errors or non-functional entries. The plugin should be ready for production use alongside the 16.7 release of OPNsense. (Please ship this plugin with 16.1.x to get some feedback and fix critical bugs before 16.7.)
Thanks to @fichtner and @AdSchellevis for their tremendous support! This plugin uses a lot existing OPNsense code, which is reflected by the copyright notes. Besides that it was apparently heavily inspired by the pf***** HAProxy plugin (but no original code was included).
Some screenshots to demonstrate how this plugin integrates with the HAProxy framework and GUI.