Container not starting when using local ovpn file in OMV #2855
Unanswered
gavinmerry
asked this question in
Q&A
Replies: 2 comments 1 reply
-
According to the guide it should be |
Beta Was this translation helpful? Give feedback.
1 reply
-
I believe the issue is that the VPN_PROVIDER variable is not set to custom properly, so that it skipped this condition: docker-transmission-openvpn/openvpn/start.sh Line 102 in fd609f2 The quick and dirty fix I used for now is to set the OPENVPN_PROVIDER variable to custom, then, mount mount the folder you have default.ovpn file to the "/etc/openvpn/custom/" path. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently trying to run this docker container within OMV 7.1.1-1 (Sandworm). I have my own VPN set up using OpenVPN and therefore have my own .ovpn config file with private keys so I need to keep it local. I have followed the guidance here - (https://github.com/haugene/vpn-configs-contrib/blob/main/CONTRIBUTING.md) and it does not seem to work. The container starts up and then stops straight away.
Please find below my current compose file and the error log:
Compose file
Log
The error appears to say that it cannot find the bundle of ovpn configs in LOCAL, which is the directory I specified using the above guide. I'm not sure why the container isn't picking up on the local file and instead trying to download ones from the github page. I have done a bunch of googling and can't seem to find anyone else with a similar issue or a guide on how to do it locally that is different to the specified documentation.
Just to add, my config file and router works fine as other devices on my internal network have used it without issue and can connect to my vpn.
Has anyone managed to get this to work?
Many thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions