docker-Jackettvpn
docker-Jackettvpn copied to clipboard
Refuses to connect to OpenVPN service (IVPN)
Hi,
No matter how I configure this, it refuses to connect to my VPN service (IVPN). I have the original Jackett docker container running with IVPN for over 3 years (https://hub.docker.com/r/linuxserver/jackett).
The docker config I'm running with this build:
jackett-vpn:
image: dyonr/jackettvpn:latest
container_name: jackett-vpn
restart: unless-stopped
devices:
- /dev/net/tun
volumes:
- ./docker/jackett-vpn/config/:/config
- ./docker/jackett-vpn/blackhole/:/blackhole
ports:
- "8004:9117"
environment:
- PUID=1000
- PGID=999
- VPN_ENABLED=yes
- VPN_TYPE=openvpn
- LAN_NETWORK=192.168.100.0/24,192.168.200.0/24
- NAME_SERVERS=1.1.1.1,1.0.0.1
- WEBUI_PORT=9117
I've created the credentials.conf file and it's getting mapped to the container. I've also added the following to the ovpn file:
auth-user-pass /config/openvpn/credentials.conf
The credentials.conf file contains the IVPN username and just random characters for a password as I can't leave it blank. This is covered here: https://www.ivpn.net/setup/linux-terminal
I continually get the AUTH failed error as shown below:
$ sudo docker logs -f jackett-vpn
2022-08-14 18:45:26 TLS: Initial packet from [AF_INET]95.211.172.95:2049, sid=5da86ebe 56056b22
2022-08-14 18:45:26 VERIFY OK: depth=1, C=CH, ST=Zurich, L=Zurich, O=IVPN.net, OU=IVPN, CN=IVPN Root CA v2, [email protected]
2022-08-14 18:45:26 VERIFY KU OK
2022-08-14 18:45:26 Validating certificate extended key usage
2022-08-14 18:45:26 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2022-08-14 18:45:26 VERIFY EKU OK
2022-08-14 18:45:26 VERIFY X509NAME OK: C=CH, ST=Zurich, L=Zurich, O=IVPN.net, OU=IVPN, CN=nl4.gw.ivpn.net, [email protected]
2022-08-14 18:45:26 VERIFY OK: depth=0, C=CH, ST=Zurich, L=Zurich, O=IVPN.net, OU=IVPN, CN=nl4.gw.ivpn.net, [email protected]
2022-08-14 18:45:26 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA
2022-08-14 18:45:26 [nl4.gw.ivpn.net] Peer Connection Initiated with [AF_INET]95.211.172.95:2049
2022-08-14 18:45:27 SENT CONTROL [nl4.gw.ivpn.net]: 'PUSH_REQUEST' (status=1)
2022-08-14 18:45:27 AUTH: Received control message: AUTH_FAILED
2022-08-14 18:45:27 SIGTERM[soft,auth-failure] received, process exiting
Any suggestions as to what the issue might be?
im using nord OVPN and i get the same issue all the time, i change config files and sometimes it works, othertimes it doesn't.
any updates on this issue, im getting the on my unraid server?