Supplied config cyberghost.ovpn could not be found. Your options for this provider are: cyberghost.ovpn #2929
Replies: 1 comment 1 reply
-
I modified the ovpn as follow to make sure the certs and key are properly referenced but it did not change anything: resolv-retry infinite ca /etc/openvpn/custom/ca.crt cert /etc/openvpn/custom/client.crt key /etc/openvpn/custom/client.key I also tried inlining the values of the crt and keys as follow: Still the same error, at this point I do not think this is related |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using a custom vpn, the file is there, it see the file while also not being able to find it
The transmission image is defined as:
transmission-vpn:
container_name: transmission-vpn
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9091:9091"
dns:
- 8.8.8.8
- 8.8.4.4
volumes:
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/transmission-vpn:/data
- ${USERDIR}/docker/openvpn-custom:/etc/openvpn/custom
- ${USERDIR}/Downloads:/data/watch
- ${USERDIR}/Downloads/completed:/data/completed
- ${USERDIR}/Downloads/incomplete:/data/incomplete
environment:
- OPENVPN_PROVIDER=custom
- OPENVPN_USERNAME=${OPENVPN_USERNAME}
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
- OPENVPN_CONFIG=cyberghost
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 --mute-replay-warnings
- LOCAL_NETWORK=192.168.1.0/24
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- PASS=plex
- USER=plex
- TRANSMISSION_UMASK=2
- TRANSMISSION_RATIO_LIMIT_ENABLED=true
- TRANSMISSION_RATIO_LIMIT=0
the ovpn file:
client
remote 87-1-ca.cg-dialup.net 443
dev tun
proto udp
auth-user-pass /etc/openvpn/custom/auth.txt
resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
ncp-disable
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
verb 4
ca ca.crt
cert client.crt
key client.key
the auth.txt contains 2 lines, the username then the password
here is the result of the command ~/docker/openvpn-custom/

Beta Was this translation helpful? Give feedback.
All reactions