docker-openvpn-client icon indicating copy to clipboard operation
docker-openvpn-client copied to clipboard

cant read conf file

Open aikastor opened this issue 4 years ago • 0 comments

here is what docker logs say agter running commands: 2021-01-02T20:17:31.951275426Z Options error: In [CMD-LINE]:1: Error opening configuration file: /vpn/client.conf

this is my run.sh file:

 docker run -d --name vpn-client \
  --cap-add=NET_ADMIN \
  --device /dev/net/tun \
  -v /home/vpn:/vpn \
  ekristen/openvpn-client --config /vpn/client.conf --askpass /vpn/client.pwd --auth-nocache

here is what the directory looks like: Screenshot from 2021-01-03 02-23-00

what might be the problem here? could you please advise?

aikastor avatar Jan 02 '21 20:01 aikastor