[Support] binhex - DelugeVPN


Recommended Posts

Hi,

 

I tried to install this container but it seems to be unaccessible from the outside, when i try to connect on X.X.X.X:8112 (of course i use my public IP) i get an "ERR_CONNECTION_TIMED_OUT"

 

i tried a netstat on the container and i find my IP whith SYN_RECV state.

 

My docker-compose is:

 

version: "3.7"
services:
  deluge:
    image: binhex/arch-delugevpn:latest
    container_name: deluge
    restart: always
    cap_add:
      - NET_ADMIN
    ports:
      - 8112:8112
      - 8118:8118
      - 58846:58846
      - 58946:58946
    environment:
      - PUID=1000
      - PGID=1000
      - VPN_ENABLED=yes
      - VPN_PROV=custom
      - VPN_USER=XXXX
      - VPN_PASS=XXXX
      - ENABLE_PRIVOXY=yes
      - LAN_NETWORK=XXX/X
      - NAME_SERVERS=XXX,XXX
      - UMASK=000
      - DEBUG=false
    volumes:
      - /mnt/deluge/config:/config
      - /mnt/deluge/downloads:/data
      - /etc/localtime:/etc/localtime:ro

 

(i don't have 'X's in my real file)

 

if i set the VPN_ENABLED to ‘no’ it works.

With VPN Enabled, The connection seems to be ok (I get my VPN provider’s IP) but it breaks the webui...

 

Edited by kurdy34
Link to comment
On 9/10/2019 at 4:09 PM, kurdy34 said:

Hi,

 

I tried to install this container but it seems to be unaccessible from the outside, when i try to connect on X.X.X.X:8112 (of course i use my public IP) i get an "ERR_CONNECTION_TIMED_OUT"

 

i tried a netstat on the container and i find my IP whith SYN_RECV state.

 

My docker-compose is:

 

version: "3.7"
services:
  deluge:
    image: binhex/arch-delugevpn:latest
    container_name: deluge
    restart: always
    cap_add:
      - NET_ADMIN
    ports:
      - 8112:8112
      - 8118:8118
      - 58846:58846
      - 58946:58946
    environment:
      - PUID=1000
      - PGID=1000
      - VPN_ENABLED=yes
      - VPN_PROV=custom
      - VPN_USER=XXXX
      - VPN_PASS=XXXX
      - ENABLE_PRIVOXY=yes
      - LAN_NETWORK=XXX/X
      - NAME_SERVERS=XXX,XXX
      - UMASK=000
      - DEBUG=false
    volumes:
      - /mnt/deluge/config:/config
      - /mnt/deluge/downloads:/data
      - /etc/localtime:/etc/localtime:ro

 

(i don't have 'X's in my real file)

 

if i set the VPN_ENABLED to ‘no’ it works.

With VPN Enabled, The connection seems to be ok (I get my VPN provider’s IP) but it breaks the webui...

 

do you have iptable_mangle module loaded?, check /config/supervisord.log file, this should show if its accessible, you may also need to check the host to confirm.

Link to comment

Is there a way to rename a torrent directory in Delugevpn?

Say my .torrent file points to the folder Linux.ISOs.Collection.2017, but the folder on my disk is "Linux ISOs 2017" (with the same files and filenames inside), is there a way to rename and seed from that renamed location in Deluge?

 

Transmission has a pretty simple 'right click' and 'rename file' option, and I was hoping there was something similar here...

Link to comment

Hello excuse me to annoy the community I am interested to docker and I would like to ran it on my synology nas but I am lost.

I need your help I downloaded the image in the docker app (2gb) then I right clicked then Launch all to default and I receive the error message "stopped unexpectedly" I don't know what's going on and what should I do to make it work ?
Thanks for your help

Link to comment

Hi,

 

I have the same problem as kurdy34 but ip_mangle module is loaded on my ubuntu. I'm using AirVPN. When I set VPN_ENABLED=no, I can access to the WebUI from my public IP X.X.X.X:8112 but if I set VPN_ENABLED=yes, it breaks the WebUI. When I create a ssh tunnel, I can access to the WebUI from localhost:8112.

 

This is my docker-compose.yml :

version: '3.7'

services:
  deluge:
    image: binhex/arch-delugevpn:latest
    container_name: deluge
    restart: always
    cap_add:
      - NET_ADMIN
    ports:
      - 8112:8112
      - 8118:8118
      - 58846:58846
      - 58946:58946
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - VPN_ENABLED=yes
      - VPN_PROV=airvpn
      - ENABLE_PRIVOXY=yes
      - LAN_NETWORK=192.168.1.0/24
      - NAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4
      - UMASK=000
      - DEBUG=false
    volumes:
      - /home/media/deluge/config:/config
      - /etc/localtime:/etc/localtime:ro
      - ${PATH_DOWNLOADS}:/downloads

And my logs :

 

Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    < 
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2019-09-13 11:54:31.704033 [info] System information Linux c3e3ddb4fc05 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux
2019-09-13 11:54:31.840883 [info] PUID defined as '1001'
2019-09-13 11:54:32.017950 [info] PGID defined as '1001'
2019-09-13 11:54:32.183732 [info] UMASK defined as '000'
2019-09-13 11:54:32.299525 [info] Permissions already set for volume mappings
2019-09-13 11:54:32.428025 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info'
2019-09-13 11:54:32.544359 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info'
2019-09-13 11:54:32.661192 [info] VPN_ENABLED defined as 'yes'
2019-09-13 11:54:32.795653 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_Germany_UDP-443.ovpn
dos2unix: converting file /config/openvpn/AirVPN_Germany_UDP-443.ovpn to Unix format...
2019-09-13 11:54:32.957344 [info] VPN remote line defined as 'remote de.vpn.airdns.org 443'
2019-09-13 11:54:33.074783 [info] VPN_REMOTE defined as 'de.vpn.airdns.org'
2019-09-13 11:54:33.197060 [info] VPN_PORT defined as '443'
2019-09-13 11:54:33.325685 [info] VPN_PROTOCOL defined as 'udp'
2019-09-13 11:54:33.443835 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-09-13 11:54:33.559958 [info] VPN_PROV defined as 'airvpn'
2019-09-13 11:54:33.678633 [info] LAN_NETWORK defined as '192.168.1.0/24'
2019-09-13 11:54:33.796067 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4'
2019-09-13 11:54:33.913313 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-09-13 11:54:34.031323 [info] ENABLE_PRIVOXY defined as 'yes'
2019-09-13 11:54:34.652926 [info] Starting Supervisor...
2019-09-13 11:54:35,463 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-09-13 11:54:35,463 INFO Set uid to user 0 succeeded
2019-09-13 11:54:35,472 INFO supervisord started with pid 7
2019-09-13 11:54:36,477 INFO spawned: 'start-script' with pid 142
2019-09-13 11:54:36,482 INFO spawned: 'watchdog-script' with pid 143
2019-09-13 11:54:36,484 INFO reaped unknown pid 8
2019-09-13 11:54:36,512 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2019-09-13 11:54:36,513 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-13 11:54:36,513 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-13 11:54:36,521 DEBG 'watchdog-script' stderr output:
dos2unix: 
2019-09-13 11:54:36,522 DEBG 'watchdog-script' stderr output:
converting file /config/core.conf to Unix format...

2019-09-13 11:54:36,644 DEBG 'start-script' stdout output:
[info] Default route for container is 172.18.0.1

2019-09-13 11:54:36,656 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-09-13 11:54:36,667 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-09-13 11:54:36,678 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2019-09-13 11:54:36,689 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-09-13 11:54:36,700 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-09-13 11:54:36,711 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2019-09-13 11:54:36,896 DEBG 'start-script' stdout output:
[info] Attempting to load tun kernel module...

2019-09-13 11:54:36,900 DEBG 'start-script' stderr output:
modprobe: FATAL: Module tun not found in directory /lib/modules/4.15.0-52-generic

2019-09-13 11:54:36,901 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module using modprobe, trying insmod...

2019-09-13 11:54:36,905 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory

2019-09-13 11:54:36,906 DEBG 'start-script' stdout output:
[warn] Unable to load tun kernel module, assuming its dynamically loaded

2019-09-13 11:54:36,992 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.18.0.0/16

2019-09-13 11:54:37,004 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2019-09-13 11:54:37,008 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-09-13 11:54:37,012 DEBG 'start-script' stdout output:
default via 172.18.0.1 dev eth0 
172.18.0.0/16 dev eth0 proto kernel scope link src 172.18.0.2 
192.168.1.0/24 via 172.18.0.1 dev eth0 

2019-09-13 11:54:37,013 DEBG 'start-script' stdout output:
--------------------

2019-09-13 11:54:37,025 DEBG 'start-script' stdout output:
iptable_mangle         16384  0
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               40960  9 xt_conntrack,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_addrtype,xt_nat,ip_tables,iptable_mangle,xt_mark

2019-09-13 11:54:37,026 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-09-13 11:54:37,266 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-09-13 11:54:37,272 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.18.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.18.0.0/16 -d 172.18.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.18.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2019-09-13 11:54:37,275 DEBG 'start-script' stdout output:
--------------------

2019-09-13 11:54:37,278 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-09-13 11:54:37,302 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Fri Sep 13 11:54:37 2019 library versions: OpenSSL 1.1.1c  28 May 2019, LZO 2.10

2019-09-13 11:54:37,305 DEBG 'start-script' stdout output:
[info] OpenVPN started
Fri Sep 13 11:54:37 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-13 11:54:37,306 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-09-13 11:54:37,307 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

2019-09-13 11:54:37,309 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]185.189.112.10:443

2019-09-13 11:54:37,310 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]

2019-09-13 11:54:37,311 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 UDP link local: (not bound)

2019-09-13 11:54:37,312 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 UDP link remote: [AF_INET]185.189.112.10:443

2019-09-13 11:54:37,325 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 TLS: Initial packet from [AF_INET]185.189.112.10:443, sid=17298955 46033647

2019-09-13 11:54:37,369 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, [email protected]

2019-09-13 11:54:37,371 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 VERIFY KU OK
Fri Sep 13 11:54:37 2019 Validating certificate extended key usage

2019-09-13 11:54:37,372 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri Sep 13 11:54:37 2019 VERIFY EKU OK
Fri Sep 13 11:54:37 2019 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Errai, [email protected]

2019-09-13 11:54:37,875 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:37 2019 Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
Fri Sep 13 11:54:37 2019 [Errai] Peer Connection Initiated with [AF_INET]185.189.112.10:443

2019-09-13 11:54:38,927 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 SENT CONTROL [Errai]: 'PUSH_REQUEST' (status=1)

2019-09-13 11:54:38,939 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway  def1 bypass-dhcp,dhcp-option DNS 10.16.184.1,route-gateway 10.16.184.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.16.184.239 255.255.255.0,peer-id 1,cipher AES-256-GCM'

2019-09-13 11:54:38,939 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: timers and/or timeouts modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: compression parms modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: --ifconfig/up options modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: route options modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: route-related options modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: peer-id set
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
Fri Sep 13 11:54:38 2019 OPTIONS IMPORT: data channel crypto options modified
Fri Sep 13 11:54:38 2019 Data Channel: using negotiated cipher 'AES-256-GCM'

2019-09-13 11:54:38,940 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Sep 13 11:54:38 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

2019-09-13 11:54:38,941 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 ROUTE_GATEWAY 172.18.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:12:00:02

2019-09-13 11:54:38,941 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 TUN/TAP device tun0 opened
Fri Sep 13 11:54:38 2019 TUN/TAP TX queue length set to 100
Fri Sep 13 11:54:38 2019 /usr/bin/ip link set dev tun0 up mtu 1500

2019-09-13 11:54:38,946 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 /usr/bin/ip addr add dev tun0 10.16.184.239/24 broadcast 10.16.184.255

2019-09-13 11:54:38,951 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:38 2019 /root/openvpnup.sh tun0 1500 1553 10.16.184.239 255.255.255.0 init

2019-09-13 11:54:39,110 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2019-09-13 11:54:39,111 DEBG 'start-script' stdout output:
[info] Checking we can resolve name 'www.google.com' to address...

2019-09-13 11:54:39,123 DEBG 'start-script' stdout output:
[debug] Having issues resolving name 'www.google.com', sleeping before retry...

2019-09-13 11:54:44,012 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:44 2019 /usr/bin/ip route add 185.189.112.10/32 via 172.18.0.1

2019-09-13 11:54:44,018 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:44 2019 /usr/bin/ip route add 0.0.0.0/1 via 10.16.184.1

2019-09-13 11:54:44,023 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:44 2019 /usr/bin/ip route add 128.0.0.0/1 via 10.16.184.1

2019-09-13 11:54:44,028 DEBG 'start-script' stdout output:
Fri Sep 13 11:54:44 2019 Initialization Sequence Completed

2019-09-13 11:54:44,240 DEBG 'start-script' stdout output:
[info] DNS operational, we can resolve name 'www.google.com' to address '172.217.9.36'

2019-09-13 11:54:44,247 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2019-09-13 11:54:44,346 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.189.112.11

2019-09-13 11:54:44,404 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.16.184.239 different, marking for reconfigure

2019-09-13 11:54:44,420 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2019-09-13 11:54:44,432 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2019-09-13 11:54:44,446 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2019-09-13 11:54:45,837 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has an undefined value
[info] Deluge key 'listen_interface' will have a new value '10.16.184.239'
[info] Writing changes to Deluge config file '/config/core.conf'...

2019-09-13 11:54:47,345 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'outgoing_interface' currently has an undefined value
[info] Deluge key 'outgoing_interface' will have a new value 'tun0'
[info] Writing changes to Deluge config file '/config/core.conf'...

2019-09-13 11:54:48,235 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of 'b26e3e763b004823b66e5304b1a56f81'
[info] Deluge key 'default_daemon' will have a new value 'b26e3e763b004823b66e5304b1a56f81'
[info] Writing changes to Deluge config file '/config/web.conf'...

2019-09-13 11:54:49,667 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2019-09-13 11:54:50,409 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2019-09-13 11:55:04,425 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found

2019-09-13 11:55:04,426 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2019-09-13 11:55:04,426 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

2019-09-13 11:55:04,442 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...

2019-09-13 11:55:05,460 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...

2019-09-13 11:55:05,480 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118

Thanks in advance !

Link to comment

I wanted to summarize how I got Mullvad working with DelugeVPN as I had to piece together several "solutions" from different comments in this thread and there was some incorrect info; likely old.

 

First go to https://mullvad.net/en/download/config/?platform=linux (you may have to sign into your Mullvad account first), select a region, leave "Use IP addresses" and "Connect via our bridges." left unchecked, then click "Download". This will download a .zip file with all your config and cert files.

 

The .zip file will contain a folder with the following files:

 

mullvad_ca.crt (the cert file)

mullvad_<whatever region you selected>.conf (the config file)

mullvad_userpass.txt (a text file with your account number)

update-resolv-conf (some file with no file extension that I have no idea what it does lol)

 

You will extract these files later after we do the initial set up for Deluge VPN.

 

Next grab binhex-delugevpn from Community Applications (you've probably already done this if so just click "edit" on the binhex-delugevpn docker container)  and adjust the following container settings:

 

Host Path 2 (Container Path: /data) set this to your downloads location; usually a share you created. Mine is /mnt/user/Downloads. If you are using Sonarr or Radarr it should be the same /data path they use.

 

Key 1 (VPN_ENABLED) should be set to "yes"

 

Key 2 (VPN_USER) should be your Mullvad account number; a 16 digit number you received when you set up your Mullvad account which also can be found in mullvad_userpass.txt. Do not include the "m" as shown in the .txt file, just the 16 digit account number.

 

Key 3 (VPN_PASS) same account number as Key 2, no "m".

 

Key 4 (VPN_PROV) set to "custom"

 

Key 6 (STRICT_PORT_FORWARD) set to "yes"

 

Key 8 (LAN_NETWORK) put the first 3 numbers of your routers IP (most likely 192.168.1) followed by .0/24 (example "192.168.1.0/24")

 

Everything else can be left alone.

 

Click apply. It will pull the container and run it.

 

Open a file explorer and navigate to <your server>/appdata/binhex-delugevpn/openvpn/

 

Now extract the files:

 

mullvad_ca.crt

mullvad_<whatever region you selected>.conf

mullvad_userpass.txt

update-resolv-conf

 

from the .zip you downloaded from Mullvad into <your server>/appdata/binhex-delugevpn/openvpn/

 

change the file extension of mullvad_<whatever region you selected>.conf to mullvad_<whatever region you selected>.ovpn

 

Open mullvad_<whatever region you selected>.ovpn with a text editor and add the following lines to the bottom:

 

    pull-filter ignore "route-ipv6"
    pull-filter ignore "ifconfig-ipv6"

 

Save the file.

 

Restart the binhex-delugevpn container

 

That should do it. I hope this helps.

  • Like 5
  • Thanks 3
Link to comment

EDIT: I was able to fix my issue. It seems that auto setting in docker for local port wasn't working. Had to also adjust that instead of just the container port.

So I'm having an issue with being able to connect to the webui. When I attempt to connect to port 8112, I'm unable to load the webui. Any help would be appreciated


Below is my log

 

019-09-14 17:16:01.408444 [info] VPN_ENABLED defined as 'yes'
2019-09-14 17:16:01.479982 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/atl-a11.ovpn
dos2unix: converting file /config/openvpn/atl-a11.ovpn to Unix format...
2019-09-14 17:16:01.568206 [info] VPN remote line defined as 'remote atl-a11.wlvpn.com 1194'
2019-09-14 17:16:01.631952 [info] VPN_REMOTE defined as 'atl-a11.wlvpn.com'
2019-09-14 17:16:01.701265 [info] VPN_PORT defined as '1194'
2019-09-14 17:16:01.770190 [info] VPN_PROTOCOL defined as 'udp'
2019-09-14 17:16:01.834477 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-09-14 17:16:01.898750 [info] VPN_PROV defined as 'custom'
2019-09-14 17:16:01.962658 [info] LAN_NETWORK defined as '192.168.0.0/24'
2019-09-14 17:16:02.026438 [info] NAME_SERVERS defined as '8.8.8.8'

2019-09-14 17:16:02.216942 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-09-14 17:16:02.280751 [info] ENABLE_PRIVOXY defined as 'yes'
2019-09-14 17:16:02.349123 [info] Starting Supervisor...
2019-09-14 17:16:02,798 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-09-14 17:16:02,798 INFO Set uid to user 0 succeeded
2019-09-14 17:16:02,807 INFO supervisord started with pid 6
2019-09-14 17:16:03,810 INFO spawned: 'start-script' with pid 144
2019-09-14 17:16:03,812 INFO spawned: 'watchdog-script' with pid 145
2019-09-14 17:16:03,813 INFO reaped unknown pid 7
2019-09-14 17:16:03,826 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2019-09-14 17:16:03,826 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-14 17:16:03,826 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-14 17:16:03,830 DEBG 'watchdog-script' stderr output:
dos2unix: converting file /config/core.conf to Unix format...

2019-09-14 17:16:03,850 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2019-09-14 17:16:03,921 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-09-14 17:16:03,928 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2019-09-14 17:16:04,070 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-09-14 17:16:04,076 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2019-09-14 17:16:04,078 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-09-14 17:16:04,080 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.4 
192.168.0.0/24 via 172.17.0.1 dev eth0 

2019-09-14 17:16:04,080 DEBG 'start-script' stdout output:
--------------------

2019-09-14 17:16:04,088 DEBG 'start-script' stdout output:
iptable_mangle          1656  1
ip_tables              14092  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               16302  21 ip6table_filter,xt_ipvs,xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_geoip,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_multiport,iptable_filter,xt_REDIRECT,iptable_mangle,ip6_tables,xt_addrtype

2019-09-14 17:16:04,089 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-09-14 17:16:04,157 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-09-14 17:16:04,160 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.0.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.0.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2019-09-14 17:16:04,162 DEBG 'start-script' stdout output:
--------------------

2019-09-14 17:16:04,163 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-09-14 17:16:04,175 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 WARNING: file 'credentials.conf' is group or others accessible
Sat Sep 14 17:16:04 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sat Sep 14 17:16:04 2019 library versions: OpenSSL 1.1.1c  28 May 2019, LZO 2.10

2019-09-14 17:16:04,176 DEBG 'start-script' stdout output:
[info] OpenVPN started
Sat Sep 14 17:16:04 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-14 17:16:04,178 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]209.107.196.15:1194
Sat Sep 14 17:16:04 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sat Sep 14 17:16:04 2019 UDP link local: (not bound)
Sat Sep 14 17:16:04 2019 UDP link remote: [AF_INET]209.107.196.15:1194

2019-09-14 17:16:04,204 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 TLS: Initial packet from [AF_INET]209.107.196.15:1194, sid=c1045cc5 dc1040a1

2019-09-14 17:16:04,236 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 VERIFY OK: depth=1, C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=VPN, name=VPN, emailAddress=VPN

2019-09-14 17:16:04,236 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 VERIFY KU OK
Sat Sep 14 17:16:04 2019 Validating certificate extended key usage
Sat Sep 14 17:16:04 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sat Sep 14 17:16:04 2019 VERIFY EKU OK
Sat Sep 14 17:16:04 2019 VERIFY OK: depth=0, C=US, ST=VPN, L=VPN, O=VPN, OU=VPN, CN=vpn, name=VPN

2019-09-14 17:16:04,429 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:04 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Sat Sep 14 17:16:04 2019 [vpn] Peer Connection Initiated with [AF_INET]209.107.196.15:1194

2019-09-14 17:16:05,656 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 SENT CONTROL [vpn]: 'PUSH_REQUEST' (status=1)

2019-09-14 17:16:05,682 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 198.18.0.1,dhcp-option DNS 198.18.0.2,rcvbuf 493216,sndbuf 493216,explicit-exit-notify 5,comp-lzo no,route-gateway 172.21.92.1,topology subnet,ping 20,ping-restart 40,ifconfig 172.21.92.60 255.255.254.0,peer-id 0,cipher AES-256-GCM'

2019-09-14 17:16:05,682 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: timers and/or timeouts modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: explicit notify parm(s) modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: compression parms modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Sat Sep 14 17:16:05 2019 Socket Buffers: R=[212992->425984] S=[212992->425984]
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: --ifconfig/up options modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: route options modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: route-related options modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: peer-id set
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
Sat Sep 14 17:16:05 2019 OPTIONS IMPORT: data channel crypto options modified
Sat Sep 14 17:16:05 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Sat Sep 14 17:16:05 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Sep 14 17:16:05 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

2019-09-14 17:16:05,683 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:04

2019-09-14 17:16:05,683 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 TUN/TAP device tun0 opened
Sat Sep 14 17:16:05 2019 TUN/TAP TX queue length set to 100
Sat Sep 14 17:16:05 2019 /usr/bin/ip link set dev tun0 up mtu 1500

2019-09-14 17:16:05,686 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 /usr/bin/ip addr add dev tun0 172.21.92.60/23 broadcast 172.21.93.255

2019-09-14 17:16:05,688 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 /root/openvpnup.sh tun0 1500 1553 172.21.92.60 255.255.254.0 init

2019-09-14 17:16:05,692 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 /usr/bin/ip route add 209.107.196.15/32 via 172.17.0.1

2019-09-14 17:16:05,694 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 /usr/bin/ip route add 0.0.0.0/1 via 172.21.92.1

2019-09-14 17:16:05,696 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 /usr/bin/ip route add 128.0.0.0/1 via 172.21.92.1

2019-09-14 17:16:05,699 DEBG 'start-script' stdout output:
Sat Sep 14 17:16:05 2019 Initialization Sequence Completed

2019-09-14 17:16:05,818 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2019-09-14 17:16:05,819 DEBG 'start-script' stdout output:
[info] Checking we can resolve name 'www.google.com' to address...

2019-09-14 17:16:05,853 DEBG 'start-script' stdout output:
[info] DNS operational, we can resolve name 'www.google.com' to address '172.217.3.132'

2019-09-14 17:16:05,856 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using Name Server 'ns1.google.com'...

2019-09-14 17:16:05,960 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 209.107.196.13

2019-09-14 17:16:05,998 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 172.21.92.60 different, marking for reconfigure

2019-09-14 17:16:06,005 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2019-09-14 17:16:06,012 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2019-09-14 17:16:06,018 DEBG 'watchdog-script' stdout output:
[info] Privoxy not running

2019-09-14 17:16:06,019 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2019-09-14 17:16:06,894 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '172.21.92.76'
[info] Deluge key 'listen_interface' will have a new value '172.21.92.60'
[info] Writing changes to Deluge config file '/config/core.conf'...

2019-09-14 17:16:07,416 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'...

2019-09-14 17:16:07,877 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of 'bc0c81bd733b492097411169e6c581c8'
[info] Deluge key 'default_daemon' will have a new value 'bc0c81bd733b492097411169e6c581c8'
[info] Writing changes to Deluge config file '/config/web.conf'...

2019-09-14 17:16:08,696 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2019-09-14 17:16:09,140 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2019-09-14 17:16:18,018 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found

2019-09-14 17:16:18,018 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2019-09-14 17:16:18,019 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

2019-09-14 17:16:18,028 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Privoxy...

2019-09-14 17:16:19,038 DEBG 'watchdog-script' stdout output:
[info] Privoxy process started
[info] Waiting for Privoxy process to start listening on port 8118...

2019-09-14 17:16:19,046 DEBG 'watchdog-script' stdout output:
[info] Privoxy process listening on port 8118

 

Edited by badwolf
Link to comment

Hello everyone 

I have a question, especially for this docker i bought PIA VPN, currently i have also torguard, and no chance for me get more that 1.5 mbps download speed. What i am doing wrong? I even made config on PIA website, same story. With Torguard i can get same speed without any port forwarding

Please help me:(

Link to comment
1 hour ago, J05u said:

Hello everyone 

I have a question, especially for this docker i bought PIA VPN, currently i have also torguard, and no chance for me get more that 1.5 mbps download speed. What i am doing wrong? I even made config on PIA website, same story. With Torguard i can get same speed without any port forwarding

Please help me:(

Are you sure that the PIA endpoint you have chosen supports port forwarding?

Link to comment

I'm sure this has been asked before but I figured I'd give it a shot. Is there anyway a feature can be added where if you supply multiple opvn files, it can do a quick cycle through to find out which file may be the fastest? Like a small script that runs through and finds the fastest ping or travel? 

Link to comment
On 9/18/2019 at 1:11 PM, noski said:

I'm curious why the following appears in the supervisord.log log every 30mins?:


[warn] rTorrent port is not defined

Seems strange because the docker is for deluge not rTorrent (this also appears in the qBittorrent docker also).

fixed, please pull down new image.

Link to comment

I'm having issues starting the binhex-delugevpn docker, the log says:

 


2019-09-19 22:09:38,017 DEBG 'start-script' stdout output:
[info] Attempting to curl https://www.privateinternetaccess.com/vpninfo/servers?version=82...

2019-09-19 22:11:38,105 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 6 from curl != 0
[info] 12 retries left
[info] Retrying in 10 secs...

2019-09-19 22:13:38,199 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 6 from curl != 0
[info] 11 retries left
[info] Retrying in 10 secs...

I tried updating the container but this issue persists. I'm using the Toronto gateway

Edited by UntouchedWagons
Link to comment
8 hours ago, UntouchedWagons said:

I'm having issues starting the binhex-delugevpn docker, the log says:

 



2019-09-19 22:09:38,017 DEBG 'start-script' stdout output:
[info] Attempting to curl https://www.privateinternetaccess.com/vpninfo/servers?version=82...

2019-09-19 22:11:38,105 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 6 from curl != 0
[info] 12 retries left
[info] Retrying in 10 secs...

2019-09-19 22:13:38,199 DEBG 'start-script' stdout output:
[warn] Response code 000 from curl != 2xx
[warn] Exit code 6 from curl != 0
[info] 11 retries left
[info] Retrying in 10 secs...

I tried updating the container but this issue persists. I'm using the Toronto gateway

i need a full log to really see whats going on, please follow the procedure in the following article:-

https://github.com/binhex/documentation/blob/master/docker/faq/help.md

 

Link to comment

Having issues. Had a repeated power outage at the house causing the docker.img to be corrupted. I deleted it and created a new one, and reset the appdata for deluge VPN. All my other containers are working again as intended but i cant get Deluge to start up properly. I followed Space-Invaders setup and added in the OPENvpn info from the first page here.

 

Quote

Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    < 
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
  https://hub.docker.com/u/binhex/

2019-09-20 11:10:45.910726 [info] System information Linux 0fbf1a319de9 4.19.56-Unraid #1 SMP Thu Jun 27 13:13:13 BST 2019 x86_64 GNU/Linux
2019-09-20 11:10:45.927096 [info] PUID defined as '99'
2019-09-20 11:10:45.945643 [info] PGID defined as '100'
2019-09-20 11:10:46.412756 [info] UMASK defined as '000'
2019-09-20 11:10:46.429490 [info] Permissions already set for volume mappings
2019-09-20 11:10:46.447310 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2019-09-20 11:10:46.464143 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2019-09-20 11:10:46.481207 [info] VPN_ENABLED defined as 'yes'
2019-09-20 11:10:46.502131 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Toronto.ovpn
dos2unix: converting file /config/openvpn/CA Toronto.ovpn to Unix format...
2019-09-20 11:10:46.528708 [info] VPN remote line defined as 'remote ca-toronto.privateinternetaccess.com 1198'
2019-09-20 11:10:46.545677 [info] VPN_REMOTE defined as 'ca-toronto.privateinternetaccess.com'
2019-09-20 11:10:46.562654 [info] VPN_PORT defined as '1198'
2019-09-20 11:10:46.582046 [info] VPN_PROTOCOL defined as 'udp'
2019-09-20 11:10:46.598892 [info] VPN_DEVICE_TYPE defined as 'tun0'
2019-09-20 11:10:46.615620 [info] VPN_PROV defined as 'pia'
2019-09-20 11:10:46.632730 [info] LAN_NETWORK defined as '192.168.1.0/24'
2019-09-20 11:10:46.649271 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2019-09-20 11:10:46.665727 [info] VPN_USER defined as xxxxxxxxxxx
2019-09-20 11:10:46.681879 [info] VPN_PASS defined as xxxxxxxxxx
2019-09-20 11:10:46.698205 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2019-09-20 11:10:46.714744 [info] STRICT_PORT_FORWARD defined as 'yes'
2019-09-20 11:10:46.731158 [info] ENABLE_PRIVOXY defined as 'yes'
2019-09-20 11:10:46.748173 [info] Starting Supervisor...
2019-09-20 11:10:46,852 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2019-09-20 11:10:46,852 INFO Set uid to user 0 succeeded
2019-09-20 11:10:46,853 INFO supervisord started with pid 6
2019-09-20 11:10:47,855 INFO spawned: 'start-script' with pid 149
2019-09-20 11:10:47,856 INFO spawned: 'watchdog-script' with pid 150
2019-09-20 11:10:47,856 INFO reaped unknown pid 7
2019-09-20 11:10:47,860 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN
[debug] Environment variables defined as follows
APPLICATION=deluge
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="5" [1]="0" [2]="9" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.0.9(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=yes
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=0fbf1a319de9
HOSTTYPE=x86_64
HOST_OS=Unraid

2019-09-20 11:10:47,860 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-20 11:10:47,860 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-09-20 11:10:47,860 DEBG 'start-script' stdout output:
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.1.0/24
MACHTYPE=x86_64-pc-linux-gnu
NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=100
PIPESTATUS=([0]="0")
PPID=6
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=yes
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TERM=xterm
TZ=America/New_York
UID=0
UMASK=000
VPN_CONFIG='/config/openvpn/CA Toronto.ovpn'
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_OPTIONS=
VPN_PASS=xxxxxxxxxx
VPN_PORT=1198
VPN_PROTOCOL=udp
VPN_PROV=pia
VPN_REMOTE=ca-toronto.privateinternetaccess.com
VPN_USER=xxxxxxxxxx
_='[debug] Environment variables defined as follows'
[debug] Directory listing of files in /config/openvpn as follows

2019-09-20 11:10:47,862 DEBG 'watchdog-script' stderr output:
dos2unix: 
2019-09-20 11:10:47,862 DEBG 'watchdog-script' stderr output:
converting file /config/core.conf to Unix format...

2019-09-20 11:10:47,862 DEBG 'start-script' stdout output:
total 16
drwxrwxr-x 1 nobody users  100 Sep 20 11:10 .
drwxrwxrwx 1 nobody users   94 Sep 20 11:10 ..
-rwxrwxr-x 1 nobody users 2025 Aug 22 10:21 ca.rsa.2048.crt
-rwxrwxr-x 1 nobody users 3173 Sep 20 11:10 CA Toronto.ovpn
-rwxrwxr-x 1 nobody users   19 Sep 20 11:09 credentials.conf
-rwxrwxr-x 1 nobody users  869 Aug 22 10:21 crl.rsa.2048.pem

2019-09-20 11:10:47,891 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/CA Toronto.ovpn as follows...

2019-09-20 11:10:47,892 DEBG 'start-script' stdout output:
remote ca-toronto.privateinternetaccess.com 1198
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server

auth-user-pass credentials.conf
compress
verb 1
<crl-verify>
-----BEGIN X509 CRL-----
MIICWDCCAUAwDQYJKoZIhvcNAQENBQAwgegxCzAJBgNVBAYTAlVTMQswCQYDVQQI
EwJDQTETMBEGA1UEBxMKTG9zQW5nZWxlczEgMB4GA1UEChMXUHJpdmF0ZSBJbnRl
cm5ldCBBY2Nlc3MxIDAeBgNVBAsTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAw
HgYDVQQDExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UEKRMXUHJpdmF0
ZSBJbnRlcm5ldCBBY2Nlc3MxLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRl
aW50ZXJuZXRhY2Nlc3MuY29tFw0xNjA3MDgxOTAwNDZaFw0zNjA3MDMxOTAwNDZa
MCYwEQIBARcMMTYwNzA4MTkwMDQ2MBECAQYXDDE2MDcwODE5MDA0NjANBgkqhkiG
9w0BAQ0FAAOCAQEAQZo9X97ci8EcPYu/uK2HB152OZbeZCINmYyluLDOdcSvg6B5
jI+ffKN3laDvczsG6CxmY3jNyc79XVpEYUnq4rT3FfveW1+Ralf+Vf38HdpwB8EW
B4hZlQ205+21CALLvZvR8HcPxC9KEnev1mU46wkTiov0EKc+EdRxkj5yMgv0V2Re
ze7AP+NQ9ykvDScH4eYCsmufNpIjBLhpLE2cuZZXBLcPhuRzVoU3l7A9lvzG9mjA
5YijHJGHNjlWFqyrn1CfYS6koa4TGEPngBoAziWRbDGdhEgJABHrpoaFYaL61zqy
MR6jC0K2ps9qyZAN74LEBedEfK7tBOzWMwr58A==
-----END X509 CRL-----
</crl-verify>

<ca>
-----BEGIN CERTIFICATE-----
MIIFqzCCBJOgAwIBAgIJAKZ7D5Yv87qDMA0GCSqGSIb3DQEBDQUAMIHoMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCQ0ExEzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNV
BAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQLExdQcml2YXRlIElu
dGVybmV0IEFjY2VzczEgMB4GA1UEAxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3Mx
IDAeBgNVBCkTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMS8wLQYJKoZIhvcNAQkB
FiBzZWN1cmVAcHJpdmF0ZWludGVybmV0YWNjZXNzLmNvbTAeFw0xNDA0MTcxNzM1
MThaFw0zNDA0MTIxNzM1MThaMIHoMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0Ex
EzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQg
QWNjZXNzMSAwHgYDVQQLExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UE
AxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBCkTF1ByaXZhdGUgSW50
ZXJuZXQgQWNjZXNzMS8wLQYJKoZIhvcNAQkBFiBzZWN1cmVAcHJpdmF0ZWludGVy
bmV0YWNjZXNzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPXD
L1L9tX6DGf36liA7UBTy5I869z0UVo3lImfOs/GSiFKPtInlesP65577nd7UNzzX
lH/P/CnFPdBWlLp5ze3HRBCc/Avgr5CdMRkEsySL5GHBZsx6w2cayQ2EcRhVTwWp
cdldeNO+pPr9rIgPrtXqT4SWViTQRBeGM8CDxAyTopTsobjSiYZCF9Ta1gunl0G/
8Vfp+SXfYCC+ZzWvP+L1pFhPRqzQQ8k+wMZIovObK1s+nlwPaLyayzw9a8sUnvWB
/5rGPdIYnQWPgoNlLN9HpSmsAcw2z8DXI9pIxbr74cb3/HSfuYGOLkRqrOk6h4RC
OfuWoTrZup1uEOn+fw8CAwEAAaOCAVQwggFQMB0GA1UdDgQWBBQv63nQ/pJAt5tL
y8VJcbHe22ZOsjCCAR8GA1UdIwSCARYwggESgBQv63nQ/pJAt5tLy8VJcbHe22ZO
sqGB7qSB6zCB6DELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRMwEQYDVQQHEwpM
b3NBbmdlbGVzMSAwHgYDVQQKExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4G
A1UECxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBAMTF1ByaXZhdGUg
SW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQpExdQcml2YXRlIEludGVybmV0IEFjY2Vz
czEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHByaXZhdGVpbnRlcm5ldGFjY2Vzcy5j
b22CCQCmew+WL/O6gzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBDQUAA4IBAQAn
a5PgrtxfwTumD4+3/SYvwoD66cB8IcK//h1mCzAduU8KgUXocLx7QgJWo9lnZ8xU
ryXvWab2usg4fqk7FPi00bED4f4qVQFVfGfPZIH9QQ7/48bPM9RyfzImZWUCenK3
7pdw4Bvgoys2rHLHbGen7f28knT2j/cbMxd78tQc20TIObGjo8+ISTRclSTRBtyC
GohseKYpTS9himFERpUgNtefvYHbn70mIOzfOJFTVqfrptf9jXa9N8Mpy3ayfodz
1wiqdteqFXkTYoSDctgKMiZ6GdocK9nMroQipIQtpnwd4yBDWIyC6Bvlkrq5TQUt
YDQ8z9v+DMO6iwyIDRiU
-----END CERTIFICATE-----
</ca>

disable-occ

2019-09-20 11:10:47,899 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2019-09-20 11:10:47,901 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2019-09-20 11:10:47,903 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2019-09-20 11:10:47,905 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2019-09-20 11:10:47,907 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2019-09-20 11:10:47,908 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2019-09-20 11:10:47,911 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2019-09-20 11:10:47,912 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2019-09-20 11:10:47,914 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2019-09-20 11:10:47,949 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2019-09-20 11:10:47,950 DEBG 'start-script' stdout output:
nameserver 209.222.18.222
nameserver 84.200.69.80
nameserver 37.235.1.174
nameserver 1.1.1.1
nameserver 209.222.18.218
nameserver 37.235.1.177
nameserver 84.200.70.40
nameserver 1.0.0.1

2019-09-20 11:10:47,950 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint ca-toronto.privateinternetaccess.com

2019-09-20 11:10:47,962 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 33963
;; flags: qr rd ra ; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; ca-toronto.privateinternetaccess.com.    IN    A

;; ANSWER SECTION:
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.107
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.6
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.10
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.17
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.24
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.32
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.33
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.52
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.69
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.74
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.87
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.92
ca-toronto.privateinternetaccess.com.    159    IN    A    172.98.67.101

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 11 msec
;; SERVER: 1.1.1.1
;; WHEN: Fri Sep 20 11:10:47 2019
;; MSG SIZE  rcvd: 262

2019-09-20 11:10:47,963 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2019-09-20 11:10:47,963 DEBG 'start-script' stdout output:
127.0.0.1    localhost
::1    localhost ip6-localhost ip6-loopback
fe00::0    ip6-localnet
ff00::0    ip6-mcastprefix
ff02::1    ip6-allnodes
ff02::2    ip6-allrouters
172.17.0.2    0fbf1a319de9
172.98.67.3    ca-toronto.privateinternetaccess.com

2019-09-20 11:10:47,965 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2019-09-20 11:10:47,967 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 172.17.0.2

2019-09-20 11:10:47,969 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.0.0

2019-09-20 11:10:47,973 DEBG 'start-script' stdout output:
[info] Docker network defined as    172.17.0.0/16

2019-09-20 11:10:47,975 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2019-09-20 11:10:47,975 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2019-09-20 11:10:47,976 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0 
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 
192.168.1.0/24 via 172.17.0.1 dev eth0 

2019-09-20 11:10:47,976 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel

2019-09-20 11:10:47,977 DEBG 'start-script' stdout output:
Module                  Size  Used by
vhost_net              24576  0
vhost                  32768  1 vhost_net
tap                    20480  1 vhost_net
tun                    36864  2 vhost_net
md_mod                 49152  4
macvlan                20480  0
xt_CHECKSUM            16384  1
ipt_REJECT             16384  2
ip6table_mangle        16384  1
ip6table_nat           16384  1
nf_nat_ipv6            16384  1 ip6table_nat
iptable_mangle         16384  1
ip6table_filter        16384  1
ip6_tables             24576  3 ip6table_filter,ip6table_nat,ip6table_mangle
veth                   20480  0
xt_nat                 16384  9
ipt_MASQUERADE         16384  13
iptable_nat            16384  1
nf_nat_ipv4            16384  2 ipt_MASQUERADE,iptable_nat
iptable_filter         16384  1
ip_tables              24576  3 iptable_filter,iptable_nat,iptable_mangle
nf_nat                 24576  3 nf_nat_ipv6,nf_nat_ipv4,xt_nat
xfs                   655360  5
bonding               110592  0
e1000e                180224  0
r8169                  65536  0
realtek                20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm                   364544  0
btusb                  40960  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
i2c_i801               24576  0
crct10dif_pclmul       16384  0
i2c_core               40960  1 i2c_i801
crc32_pclmul           16384  0
crc32c_intel           24576  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
bluetooth             323584  5 btrtl,btintel,btbcm,btusb
aesni_intel           200704  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 20480  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           16384  0
intel_uncore          102400  0
nvme                   32768  1
nvme_core              45056  3 nvme
wmi_bmof               16384  0
ahci                   40960  4
ecdh_generic           20480  1 bluetooth
libahci                28672  1 ahci
wmi                    20480  1 wmi_bmof
intel_rapl_perf        16384  0
video                  40960  0
acpi_pad               20480  0
thermal                20480  0
button                 16384  0
backlight              16384  1 video
fan                    16384  0
pcc_cpufreq            16384  0

2019-09-20 11:10:47,979 DEBG 'start-script' stdout output:
iptable_mangle         16384  1
ip_tables              24576  3 iptable_filter,iptable_nat,iptable_mangle

2019-09-20 11:10:47,979 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2019-09-20 11:10:48,002 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2019-09-20 11:10:48,003 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2019-09-20 11:10:48,004 DEBG 'start-script' stdout output:
--------------------

2019-09-20 11:10:48,004 DEBG 'start-script' stdout output:
[debug] OpenVPN command line:- /usr/bin/openvpn --daemon --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'pia' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE 'ca-toronto.privateinternetaccess.com' --setenv APPLICATION 'deluge' --script-security 2 --writepid /root/openvpn.pid --remap-usr1 SIGHUP --log-append /dev/stdout --pull-filter ignore 'up' --pull-filter ignore 'down' --pull-filter ignore 'route-ipv6' --pull-filter ignore 'ifconfig-ipv6' --pull-filter ignore 'tun-ipv6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --remote 172.98.67.3 1198 udp --remote 172.98.67.27 1198 udp --remote 172.98.67.48 1198 udp --remote 172.98.67.23 1198 udp --remote 172.98.67.10 1198 udp --remote 172.98.67.17 1198 udp --remote 172.98.67.32 1198 udp --remote 172.98.67.6 1198 udp --remote 172.98.67.69 1198 udp --remote 172.98.67.35 1198 udp --remote 172.98.67.81 1198 udp --remote 172.98.67.46 1198 udp --remote 172.98.67.51 1198 udp --remote-random --keepalive 10 60 --setenv STRICT_PORT_FORWARD 'yes' --disable-occ --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/CA Toronto.ovpn'
[info] Starting OpenVPN...

2019-09-20 11:10:48,009 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:48 2019 WARNING: file 'credentials.conf' is group or others accessible
Fri Sep 20 11:10:48 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Fri Sep 20 11:10:48 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-09-20 11:10:48,009 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-09-20 11:10:48,009 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:48 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-20 11:10:48,009 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:48 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.27:1198
Fri Sep 20 11:10:48 2019 UDP link local: (not bound)
Fri Sep 20 11:10:48 2019 UDP link remote: [AF_INET]172.98.67.27:1198

2019-09-20 11:10:48,178 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:48 2019 [a327eab6b39ec67c42f239dcc6311028] Peer Connection Initiated with [AF_INET]172.98.67.27:1198

2019-09-20 11:10:49,473 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:49 2019 AUTH: Received control message: AUTH_FAILED

2019-09-20 11:10:49,474 DEBG 'start-script' stdout output:
Fri Sep 20 11:10:49 2019 SIGTERM[soft,auth-failure] received, process exiting

2019-09-20 11:11:18,014 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2019-09-20 11:11:18,018 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:18 2019 WARNING: file 'credentials.conf' is group or others accessible
Fri Sep 20 11:11:18 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Fri Sep 20 11:11:18 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-09-20 11:11:18,019 DEBG 'start-script' stdout output:
[info] OpenVPN restarted

2019-09-20 11:11:18,019 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:18 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-20 11:11:18,019 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:18 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.81:1198

2019-09-20 11:11:18,019 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:18 2019 UDP link local: (not bound)
Fri Sep 20 11:11:18 2019 UDP link remote: [AF_INET]172.98.67.81:1198

2019-09-20 11:11:18,183 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:18 2019 [a431bb566166bb44fbabfbe31561ecf3] Peer Connection Initiated with [AF_INET]172.98.67.81:1198

2019-09-20 11:11:19,484 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:19 2019 AUTH: Received control message: AUTH_FAILED

2019-09-20 11:11:19,484 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:19 2019 SIGTERM[soft,auth-failure] received, process exiting

2019-09-20 11:11:48,021 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2019-09-20 11:11:48,026 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:48 2019 WARNING: file 'credentials.conf' is group or others accessible
Fri Sep 20 11:11:48 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Fri Sep 20 11:11:48 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-09-20 11:11:48,026 DEBG 'start-script' stdout output:
[info] OpenVPN restarted

2019-09-20 11:11:48,027 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:48 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-20 11:11:48,027 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:48 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.32:1198

2019-09-20 11:11:48,027 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:48 2019 UDP link local: (not bound)
Fri Sep 20 11:11:48 2019 UDP link remote: [AF_INET]172.98.67.32:1198

2019-09-20 11:11:48,198 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:48 2019 [ab83a88a14cea39e8f32d4039f540075] Peer Connection Initiated with [AF_INET]172.98.67.32:1198

2019-09-20 11:11:49,286 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:49 2019 AUTH: Received control message: AUTH_FAILED

2019-09-20 11:11:49,287 DEBG 'start-script' stdout output:
Fri Sep 20 11:11:49 2019 SIGTERM[soft,auth-failure] received, process exiting

2019-09-20 11:12:18,029 DEBG 'start-script' stdout output:
[warn] OpenVPN process terminated, restarting OpenVPN...

2019-09-20 11:12:18,034 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:18 2019 WARNING: file 'credentials.conf' is group or others accessible
Fri Sep 20 11:12:18 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Fri Sep 20 11:12:18 2019 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

2019-09-20 11:12:18,034 DEBG 'start-script' stdout output:
[info] OpenVPN restarted

2019-09-20 11:12:18,034 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:18 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2019-09-20 11:12:18,035 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:18 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]172.98.67.6:1198

2019-09-20 11:12:18,035 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:18 2019 UDP link local: (not bound)
Fri Sep 20 11:12:18 2019 UDP link remote: [AF_INET]172.98.67.6:1198

2019-09-20 11:12:18,198 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:18 2019 [230be89028b12a840bc13a3cfb2f26d1] Peer Connection Initiated with [AF_INET]172.98.67.6:1198

2019-09-20 11:12:19,268 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:19 2019 AUTH: Received control message: AUTH_FAILED

2019-09-20 11:12:19,268 DEBG 'start-script' stdout output:
Fri Sep 20 11:12:19 2019 SIGTERM[soft,auth-failure] received, process exiting

 

Edited by Remamian
Followed HELP for debugging
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.