Nov 15 08:34:54 OPNsense configd.py: [638c0187-9480-4a2a-a42c-76ea2d790fce] returned exit status 1 Nov 15 08:34:54 OPNsense root: /usr/local/etc/rc.d/haproxy: WARNING: failed to start haproxy Nov 15 08:34:53 OPNsense configd.py: [638c0187-9480-4a2a-a42c-76ea2d790fce] starting haproxy
global # NOTE: Could be a security issue, but required for some feature. uid 80 gid 80 chroot /var/haproxy daemon stats socket /var/run/haproxy.socket level admin nbproc 1 tune.ssl.default-dh-param 1024 spread-checks 0 tune.chksize 16384 tune.bufsize 16384 tune.lua.maxmem 0 log /var/run/log local0 infodefaults log global option redispatch -1 timeout client 30s timeout connect 30s timeout server 30s retries 3# Frontend: OpenVPN ()frontend OpenVPN bind vpn.example.com:80 name vpn.example.com:80 mode http option http-keep-alive default_backend OpenVPN # tuning options timeout client 30s # logging options option httplog# Backend: OpenVPN ()backend OpenVPN # health checking is DISABLED mode http balance source # tuning options timeout connect 30s timeout server 30s server OpenVPN 10.0.0.18:80# statistics are DISABLED
Code: [Select]frontend OpenVPN bind vpn.example.com:80 name vpn.example.com:80 mode http option http-keep-alive default_backend OpenVPN # tuning options timeout client 30s # logging options option httplog
frontend OpenVPN bind vpn.example.com:80 name vpn.example.com:80 mode http option http-keep-alive default_backend OpenVPN # tuning options timeout client 30s # logging options option httplog
root@opnsense:~ # pkg install -yf haproxyroot@opnsense:~ # service haproxy restart
root@opnsense:~ # ls -lR /var/haproxy/
root@opnsense:~ # haproxy -d -f /usr/local/etc/haproxy.conf