I made an attempt to install OpenVPN using linuxserver.io
‘s docker image. I tried Docker compose version but hit this error:
You can configure manually using the /usr/local/openvpn_as/bin/ovpn-init tool.
/var/lib/dpkg/info/openvpn-as.postinst: line 72: systemctl: command not found
After a little digging in the log file, it said:
Error: Could not execute 'systemctl enable openvpnas' to enable startup/shutdown scripts
I tried to search some error and github page said they are working on it. I then went to this page and there seems to be a solution by changing the config.json file.
https://forums.unraid.net/topic/79012-support-linuxserverio-openvpn-as/page/71/
But I tried that by execute into the docker container, execute this:
/usr/local/openvpn_as/scripts/sacli --key "vpn.server.daemon.enable" --value "false" ConfigPut
/usr/local/openvpn_as/scripts/sacli --key "vpn.daemon.0.listen.protocol" --value "tcp" ConfigPut
/usr/local/openvpn_as/scripts/sacli --key "vpn.server.port_share.enable" --value "true" ConfigPut
/usr/local/openvpn_as/scripts/sacli start
This however didn’t work either. There seems to be other tutorials using straight docker and get to the admin page. So I can only say it’s the mentioned multiprocessing problem, and I will have to wait to a working update.