Questions;Should I be using nginx or HAProxy? (I don't wish to offload the SSL.)Is there a step that I'm missing? Is there an idiots guide available?
Overview (Is this correct?);Login to provider and set DNS records.Install plugin nginx or HA proxyConfigure reverse proxy (I see this varies on which I use I've so far unsuccessfully had a go with HAproxy)Configure firewall to point to reverse proxy (is this This Firewall or do I specify the LAN IP of the firewall?)
In your case both work equaly but in nginx you cannot mix strams with HTTP
Last Step: In theory you only need to open the ports in the firewall for HTTPS (TCP/443) to the firewall itself on WAN to allow external access but I would allow to access the load balancer from everywhere, I would suggest a quick floating rule. Do not use and Port forward rule and make sure the same port is not used by the web interface.
This took me quite some time, but I have figured it out.I simply overlooked several times the significance of the following statement in the docs:QuoteIf you configure a port that is already in use, the configuration test will be successful but the start of HAProxy will fail silently. Please ensure that the used port is free - especially if the number conflicts with the web configuration of OPNsense.By setting up the port for the opnsense web interface to something else then 443, the issue was resolved.Thanks for those who helped out.
If you configure a port that is already in use, the configuration test will be successful but the start of HAProxy will fail silently. Please ensure that the used port is free - especially if the number conflicts with the web configuration of OPNsense.
192.168.0.254:44380.11.12.13:443
192.168.0.254:443
WAN address 443 -> 192.168.0.254:443
In this case you only use a local binding to the internal firewall addressCode: [Select]192.168.0.254:443and add a nat portforwardCode: [Select]WAN address 443 -> 192.168.0.254:443