You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in my setup I have all the config files in one place, so I tired to move them but now the client can't start saying:
Options error: In [CMD-LINE]:1: Error opening configuration file: /appdata/ovpn/client.ovpn
This is my compose file:
vpn:
container_name: vpn
image: ekristen/openvpn-client
stdin_open: true
tty: true
command: --config /appdata/ovpn/client.ovpn --askpass /appdata/ovpn/client.pwd --auth-nocache
cap_add:
- NET_ADMIN
devices:
- "/dev/net/tun:/dev/net/tun"
volumes:
- ./appdata/ovpn:/vpn
What am I doing wrong here?
The text was updated successfully, but these errors were encountered:
Your trying to access a host path from the container. Your volume mount is right host:container but the command line should be referencing /vpn not ./appdata
So in my setup I have all the config files in one place, so I tired to move them but now the client can't start saying:
Options error: In [CMD-LINE]:1: Error opening configuration file: /appdata/ovpn/client.ovpn
This is my compose file:
vpn:
container_name: vpn
image: ekristen/openvpn-client
stdin_open: true
tty: true
command: --config /appdata/ovpn/client.ovpn --askpass /appdata/ovpn/client.pwd --auth-nocache
cap_add:
- NET_ADMIN
devices:
- "/dev/net/tun:/dev/net/tun"
volumes:
- ./appdata/ovpn:/vpn
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: