This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Description I'm getting the following error after following your instructions:
root@ubuntu:/home/ubuntu# OVPN_DATA="ovpn-data-example"
root@ubuntu:/home/ubuntu# docker volume create --name $OVPN_DATA
ovpn-data-example
root@ubuntu:/home/ubuntu# docker run -v $OVPN_DATA:/etc/openvpn --log-driver=none --rm themardy/openvpn ovpn_genconfig -u udp://vpn.**********.com
Unable to find image 'themardy/openvpn:latest' locally
latest: Pulling from themardy/openvpn
2914792bc417: Pull complete
3b42d18eeede: Pull complete
7be0dfeae1e3: Pull complete
5d697cc13b3b: Pull complete
60385d3d1db5: Pull complete
Digest: sha256:2fee1bbd6805ffe6b22998f3fe4c77d6293eed6f09ea18ae1216ce8e90f6c40a
Status: Downloaded newer image for themardy/openvpn:latest
Processing PUSH Config: 'block-outside-dns'
Processing Route Config: '192.168.254.0/24'
Processing PUSH Config: 'dhcp-option DNS 1.1.1.1'
Processing PUSH Config: 'dhcp-option DNS 1.0.0.1'
Processing PUSH Config: 'comp-lzo no'
Successfully generated config
Cleaning up before Exit ...
root@ubuntu:/home/ubuntu# docker run -v $OVPN_DATA:/etc/openvpn --log-driver=none --rm -it themardy/openvpn ovpn_initpki
Easy-RSA error:
The file '/etc/openvpn/vars' was not found.
Any ideas how to fix this?
Reactions are currently unavailable
I'm getting the following error after following your instructions:
Any ideas how to fix this?