Hi all,
Im wanting to expose some servers in my homelab to the web, and the HAProxy looks like the best way to do it.
Tutorials I have been looking at are
- How to: Opnsense+HAProxy as reverse proxy for self-hosted serviceshttps://community.spiceworks.com/how_to/177181-opnsense-haproxy-as-reverse-proxy-for-self-hosted-services (https://community.spiceworks.com/how_to/177181-opnsense-haproxy-as-reverse-proxy-for-self-hosted-services)
- Tutorial 2023/12: HAProxy + Let's Encrypt Wildcard Certificateshttps://forum.opnsense.org/index.php?topic=23339.0 (https://forum.opnsense.org/index.php?topic=23339.0)
I have acme client and ddclient up and running (previously done).
I have installed the HAProxy plugin, and see it in services, however, it shows as disabled in the config??
#
# Automatically generated configuration.
# Do not edit this file manually.
#
#
# NOTE: HAProxy is currently DISABLED
#
global
uid 80
gid 80
chroot /var/haproxy
daemon
stats socket /var/run/haproxy.socket group proxy mode 775 level admin
nbthread 1
hard-stop-after 60s
no strict-limits
tune.ssl.default-dh-param 2048
spread-checks 2
tune.bufsize 16384
tune.lua.maxmem 0
log /var/run/log local0 info
lua-prepend-path /tmp/haproxy/lua/?.lua
defaults
log global
option redispatch -1
timeout client 30s
timeout connect 30s
timeout server 30s
retries 3
default-server init-addr last,libc
# autogenerated entries for ACLs
# autogenerated entries for config in backends/frontends
# autogenerated entries for stats
# statistics are DISABLED
I previously had ngix installed and running, so I removed it, did a restart, uninstalled HAProxy, restarted, reinstalled HAProxy, etc. etc. thinking that may have been the cause, but it does not seem to have resolved the disabled issue.
How do I enable the plugin??
Thanks in advance!
Aaaaand I found it myself.... duh
Services > HAProxy > Settings > Settings > Service : Enable HAProxy