Closed zioperek closed 3 years ago
I've fixed this bug but haven't updated the repo. Found a doozy of a exploit and am rewriting the website using Python instead of using a bash script to create the website....
zioperek, please try the latest commit. It should work better. It checks for the existance of that file, and if it doesn't exist, it rebuilds the openvpn certificates to get the files required.
I also noticed that in the issue you opened, both the openvpn and ovpns directories are mounted in the exact same folder. This will not work in this commit, due to an additional check that makes sure that the openvpn directory you mount to /etc/openvpn and the ovpns directory you mount to /home/pivpn/ovpns are separate. Please make the appropriate change to your launching method to deal with this.
Closing this issue, since there has been no response to the issue.
Hi. The container crushes after a few seconds with log message
chown: cannot access "/etc/openvpn/crl.pem": No such file or directory ::: PiVPN Service Started
The ENVS i added were IPv4dev, pivpnDNS1, pivpnDNS2, as i run pihole and needed IPv4dev specified, for multiple network cards.
I'm running docker over portainer.io webui.
Defaults also added:
--privileged \ --net host \ --name pivpn \ -v /custom/:/home/pivpn/ovpns \ -v /custom/:/etc/openvpn
Docker info: