I followed
this guide and I also noticed the problem is discussed here
https://forums.openvpn.net/viewtopic.php?t=18801 but there was no solution.
Any ideas where to start?
Edit apparently I'm sort of an idiot. Stunnel wasn't running. However, stunnel won't start because it can't bind to localhost which it says is in use. It doesn't appear to be in use.
[!] bind: Address already in use (48)
[!] Error binding service [openvpn-localhost] to 127.0.0.1:3000
[ ] Closing service [openvpn-localhost]
[ ] Service [openvpn-localhost] closed
/usr/local/etc/rc.d/stunnel: WARNING: failed to start stunnel
stunnel.conf
debug = 7
output = /usr/local/etc/stunnel/stunnel.log
# Location of the certificate that we created
cert = /usr/local/etc/stunnel/stunnel.pem
# Name of the connection
[openvpn-localhost]
# The port to listen on
accept = 127.0.0.1:3000
# Connect to the local OpenVPN server
connect = 127.0.0.1:10011
]# sockstat -4 -l
sockstat: struct xtcpcb size mismatch
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
nobody openvpn 11859 6 udp4 *:10011 *:*
root syslogd 11827 7 udp4 *:514 *:*