Setting up OpenVPN to work on Deluge

General support for problems installing or using Deluge
mbowser
New User
New User
Posts: 1
Joined: Fri Oct 09, 2020 10:57 pm

Setting up OpenVPN to work on Deluge

Postby mbowser » Fri Oct 09, 2020 11:12 pm

I have an unraid setup running my plex media server. I am trying to download my torrents through deluge but I would like to protect myself by integrating my cyberghost vpn account with my deluge docker.
I am currently running Kernel: Linux 4.19.107-Unraid x86_64 ver 6.8.3
I have binhex/arch-delugevpn docker installed on my unraid server and I'm running Deluge 2.0.4.dev38.

I was able to download the OpenVPN config file/key and certs through my paid cyberghost accound and I properly loaded them into the /config docker directory. Deluge loads fine when I started it but when I tried to download a torrent file the download doesn't start.

The log file doesn't show much as far as why the torrent won't start. There are also a number of protocol options for setting up the openvpn connection in cyberghost. I'm not sure which one deluge wants in order to work properly: OpenVPN, OpenVPN TCP, OpenVPN <=2.3 OpenVPN TCP <=2.3 , IPsec, L2TP, PPTP. Any help is appreciated. I did search the forums prior with no luck describing something similar.

Code: Select all

2020-10-09 15:26:14,088 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:14 2020 us=88519 VERIFY KU OK
Fri Oct 9 15:26:14 2020 us=88525 Validating certificate extended key usage
Fri Oct 9 15:26:14 2020 us=88529 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri Oct 9 15:26:14 2020 us=88532 VERIFY EKU OK
Fri Oct 9 15:26:14 2020 us=88534 VERIFY OK: depth=0, CN=185.246.209.145-1583249559

2020-10-09 15:26:14,259 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:14 2020 us=259493 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1549'

Fri Oct 9 15:26:14 2020 us=259506 WARNING: 'cipher' is used inconsistently, local='cipher AES-256-CBC', remote='cipher AES-128-GCM'

Fri Oct 9 15:26:14 2020 us=259513 WARNING: 'auth' is used inconsistently, local='auth SHA256', remote='auth [null-digest]'

Fri Oct 9 15:26:14 2020 us=259530 WARNING: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'


2020-10-09 15:26:14,259 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:14 2020 us=259570 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA
Fri Oct 9 15:26:14 2020 us=259580 [185.246.209.145-1583249559] Peer Connection Initiated with [AF_INET]185.246.209.151:443

2020-10-09 15:26:15,271 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=271664 SENT CONTROL [185.246.209.145-1583249559]: 'PUSH_REQUEST' (status=1)

2020-10-09 15:26:15,401 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=401881 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,route-ipv6 2000::/3,dhcp-option DNS 10.101.0.243,route-gateway 10.203.5.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.203.5.120 255.255.255.0,peer-id 31,cipher AES-128-GCM'
Fri Oct 9 15:26:15 2020 us=401917 Pushed option removed by filter: 'route-ipv6 2000::/3'

2020-10-09 15:26:15,402 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=401961 OPTIONS IMPORT: timers and/or timeouts modified
Fri Oct 9 15:26:15 2020 us=401964 OPTIONS IMPORT: --ifconfig/up options modified
Fri Oct 9 15:26:15 2020 us=401967 OPTIONS IMPORT: route options modified
Fri Oct 9 15:26:15 2020 us=401969 OPTIONS IMPORT: route-related options modified
Fri Oct 9 15:26:15 2020 us=401972 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Oct 9 15:26:15 2020 us=401974 OPTIONS IMPORT: peer-id set
Fri Oct 9 15:26:15 2020 us=401977 OPTIONS IMPORT: adjusting link_mtu to 1624
Fri Oct 9 15:26:15 2020 us=401979 OPTIONS IMPORT: data channel crypto options modified
Fri Oct 9 15:26:15 2020 us=401983 Data Channel: using negotiated cipher 'AES-128-GCM'
Fri Oct 9 15:26:15 2020 us=401991 Data Channel MTU parms [ L:1552 D:1450 EF:52 EB:406 ET:0 EL:3 ]
Fri Oct 9 15:26:15 2020 us=402056 Outgoing Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
Fri Oct 9 15:26:15 2020 us=402074 Incoming Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key

2020-10-09 15:26:15,402 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=402204 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:04
Fri Oct 9 15:26:15 2020 us=402390 TUN/TAP device tun0 opened
Fri Oct 9 15:26:15 2020 us=402406 TUN/TAP TX queue length set to 100
Fri Oct 9 15:26:15 2020 us=402417 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Oct 9 15:26:15 2020 us=402425 /usr/bin/ip link set dev tun0 up mtu 1500

2020-10-09 15:26:15,403 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=403497 /usr/bin/ip addr add dev tun0 10.203.5.120/24 broadcast 10.203.5.255

2020-10-09 15:26:15,404 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:15 2020 us=404476 /root/openvpnup.sh tun0 1500 1552 10.203.5.120 255.255.255.0 init

2020-10-09 15:26:20,422 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:20 2020 us=422291 /usr/bin/ip route add 185.246.209.151/32 via 172.17.0.1

2020-10-09 15:26:20,423 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:20 2020 us=423460 /usr/bin/ip route add 0.0.0.0/1 via 10.203.5.1

2020-10-09 15:26:20,424 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:20 2020 us=424388 /usr/bin/ip route add 128.0.0.0/1 via 10.203.5.1

2020-10-09 15:26:20,425 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:20 2020 us=425281 Initialization Sequence Completed

2020-10-09 15:26:21,690 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2020-10-09 15:26:22,208 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.246.209.151

2020-10-09 15:26:22,210 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2020-10-09 15:26:22,308 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.203.5.120 different, marking for reconfigure

2020-10-09 15:26:22,312 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2020-10-09 15:26:22,315 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2020-10-09 15:26:22,315 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2020-10-09 15:26:22,719 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.203.1.214'
[info] Deluge key 'listen_interface' will have a new value '10.203.5.120'
[info] Writing changes to Deluge config file '/config/core.conf'...

2020-10-09 15:26:22,917 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'outgoing_interface' currently has a value of 'tun0'
[info] Deluge key 'outgoing_interface' will have a new value 'tun0'
[info] Writing changes to Deluge config file '/config/core.conf'...

2020-10-09 15:26:23,098 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of '3afb74399990448ea7a6675befcdb920'
[info] Deluge key 'default_daemon' will have a new value '3afb74399990448ea7a6675befcdb920'
[info] Writing changes to Deluge config file '/config/web.conf'...

2020-10-09 15:26:23,429 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2020-10-09 15:26:23,642 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2020-10-09 15:26:26,963 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found


2020-10-09 15:26:26,964 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...
[info] Deluge Web UI started

2020-10-09 15:26:28,264 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:28 2020 us=264234 PID_ERR replay-window backtrack occurred [2] [SSL-0] [0__0000000000000000000000000111111111111111111111111111111111111] 0:152 0:150 t=1602282388[0] r=[-2,64,15,2,1] sl=[40,64,64,528]

2020-10-09 15:26:28,484 DEBG 'start-script' stdout output:
Fri Oct 9 15:26:28 2020 us=484190 PID_ERR replay-window backtrack occurred [10] [SSL-0] [0__________00000000000000000000000000001111111111111111111111111] 0:163 0:153 t=1602282388[0] r=[-2,64,15,10,1] sl=[29,64,64,528]

2020-10-09 15:46:36,987 DEBG 'start-script' stdout output:
Fri Oct 9 15:46:36 2020 us=987245 PID_ERR replay-window backtrack occurred [12] [SSL-0] [00__0________000000000000000000000000000000000000000000000000000] 0:10438 0:10426 t=1602283596[0] r=[-1,64,15,12,1] sl=[58,64,64,528]

Return to “Support”

Who is online

Users browsing this forum: No registered users and 20 guests