[Support] binhex - DelugeVPN


Recommended Posts

Hi, Ive been having an issue where none of my preferences save and even if i try manually editing the file, Notepad++ on windows says its unable to open the file and if i nano it from Unraid Terminal, it will get reset when i start the container again. It is also downloading all torrents to the docker.img file and not to the specified download folder. any advice?

Edited by lavavex
add issue
Link to comment
Hi, Ive been having an issue where none of my preferences save and even if i try manually editing the file, Notepad++ on windows says its unable to open the file and if i nano it from Unraid Terminal, it will get reset when i start the container again. It is also downloading all torrents to the docker.img file and not to the specified download folder. any advice?
Stop the container, then edit the config file, then start and verify settings are correct.

Sent from my CLT-L09 using Tapatalk

Link to comment
On 7/23/2022 at 8:26 PM, MediaMaan said:

I recently upgraded to the latest stable OS, and it seems this plugin is no longer working correctly.

It loads, creates a connection with the PIA server, and I can add magnet links.

 

Torrents display a high number of seeds and peers in the bracketed column, but actually connections are not established.

 

e.g. 0 (1509) in seeds.  This will increase to 24 (1509) then return to 0 (1509).

Down speed never registers.  Basically its like Deluge is attempting to connect, but is unable to successfully connect to establish a download.

 

I switched over to OpenVPN (from WG) to see if that would make a difference.  Copied the relevant .ovpn file and restarted.  Same problem.  Deluge sees the seeds and peers, but is unable to download anything.

 

Has worked fine for a year!  Don't know if the OS update broke it, or a DelugeVPN update caused the problem.

 

Any ideas where I can start to troubleshoot this? 

Anyone have any thoughts about how I can proceed?  Is about the best thing I can do to uninstall it, and re-install?

Link to comment

DelugeVPN and a Custom Network

 

Hi, Gurus

 

My setup.  I have DelugeVPN setup with several containers connected to it by adding "--net=container:binhex-delugevpn" to extra parameters.  I setup ADDITIONAL_PORTS for the containers.  To allow the containers that needed to communicate with each other I  added those container port numbers to VPN_OUTPUT_PORTS for DelugeVPN.

 

 

If I create a custom network and add DelugeVPN and those others containers to it, will I still need to use the 

VPN_OUTPUT_PORTS for those containers?  In an Ibracorp video it sounds like they are saying I will no longer need to specify ports for containers to communicate each other (just the container name).   I'm thinking I'm misunderstanding him.

 

Thanks :)

Link to comment
1 hour ago, storagehound said:

If I create a custom network and add DelugeVPN and those others containers to it, will I still need to use the 

VPN_OUTPUT_PORTS for those containers?

AFAIK yes.

1 hour ago, storagehound said:

  In an Ibracorp video it sounds like they are saying I will no longer need to specify ports for containers to communicate each other (just the container name). 

Two different concepts. The VPN_INPUT and OUTPUT ports are to punch holes in the delugevpn containers internal firewall. The container is sealed up pretty tight to keep the VPN connection secure from accidental real WAN IP exposure.

  • Thanks 1
Link to comment
11 hours ago, storagehound said:

My setup.  I have DelugeVPN setup with several containers connected to it by adding "--net=container:binhex-delugevpn" to extra parameters.  I setup ADDITIONAL_PORTS for the containers.  To allow the containers that needed to communicate with each other I  added those container port numbers to VPN_OUTPUT_PORTS for DelugeVPN.

so containers talking to each other in the SAME network can be done via localhost and the port the application uses, you should not be defining ports in VPN_OUTPUT_PORTS unless you want an application using the VPN network to communicate OUTSIDE of the VPN network to another application.
 

see A24 note 1 for details about localhost:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

see A27 for details about correct usage of VPN_OUTPUT_PORTS https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 

11 hours ago, storagehound said:

If I create a custom network and add DelugeVPN


you should be able to use a custom network - at least it did work in testing a long time ago!, what you cannot use is specific ip addresses for the vpn container, that will not work.

p.s. i do not like the usage of VPN_OUTPUT_PORTS or VPN_INPUT_PORTS actually, its a little confusing for the average user, however its a necessary evil (havent found a better way) to guarantee zero ip leakage which of course is the most important thing, so for now thats how it is.

  • Thanks 1
Link to comment
11 hours ago, binhex said:

so containers talking to each other in the SAME network can be done via localhost and the port the application uses, you should not be defining ports in VPN_OUTPUT_PORTS unless you want an application using the VPN network to communicate OUTSIDE of the VPN network to another application.
 

see A24 note 1 for details about localhost:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

see A27 for details about correct usage of VPN_OUTPUT_PORTS https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

 


you should be able to use a custom network - at least it did work in testing a long time ago!, what you cannot use is specific ip addresses for the vpn container, that will not work.

p.s. i do not like the usage of VPN_OUTPUT_PORTS or VPN_INPUT_PORTS actually, its a little confusing for the average user, however its a necessary evil (havent found a better way) to guarantee zero ip leakage which of course is the most important thing, so for now thats how it is.

 

Thank you, @binhex  I had only used VPN_OUTPUT_PORTS to get Overseerr to see Plex.  I don't have Plex running through DelugeVPN (I think that is not recommended).    I don't like it's usage either...but I'm so appreciative you implemented it it.

I was only looking a custom networks and other things in SpaceinvaderOne and Ibracorp videos because I am looking at expanding the functionality of my uNraid in the near future (Reverse Proxy's and etc) as so many of you have.

 

Thanks again...

Link to comment

Port Setting keeps re-appearing after docker auto-update?

 

To be clear, I don't think this is a delugevpn issue but posting here in case others have seen this.

 

I have a "Few" ***rr containers running through delugevpn (network for each is set to `custom:container:delugevpn`).  Auto-update is set to run weekly.  Most update and restart just fine, but I have 3 that don't come back up after upgrading.  When I look closer, it's because each of the 3 containers somehow have the port settings added back in their container config.  This is causing a conflict with delugevpn, which already has those ports set via ADDITIONAL_PORTS.  

 

So after each update, I have to 'Add Container', pick the container config of the offending container, remove the port setting, and it fires right back up.  Have tried doing XML editing via the Unraid GUI and via cmd line and the port setting doesn't exist in the XML, so not sure how it keeps re-appearing after updating the container?

 

It's been this way since I started with unraid in 2020 and it's not a big deal, but after doing this for 2+ years I thought I'd ask to see if anyone else has this issue? TIA

Link to comment
On 7/23/2022 at 8:26 PM, MediaMaan said:

I recently upgraded to the latest stable OS, and it seems this plugin is no longer working correctly.

It loads, creates a connection with the PIA server, and I can add magnet links.

 

Torrents display a high number of seeds and peers in the bracketed column, but actually connections are not established.

 

e.g. 0 (1509) in seeds.  This will increase to 24 (1509) then return to 0 (1509).

Down speed never registers.  Basically its like Deluge is attempting to connect, but is unable to successfully connect to establish a download.

 

I switched over to OpenVPN (from WG) to see if that would make a difference.  Copied the relevant .ovpn file and restarted.  Same problem.  Deluge sees the seeds and peers, but is unable to download anything.

 

Has worked fine for a year!  Don't know if the OS update broke it, or a DelugeVPN update caused the problem.

 

Any ideas where I can start to troubleshoot this? 

Still having no luck with this.  I deleted the Docker container, re-installed, and am still experiencing the same issue.  Torrents show up, it looks like it tries to download them, but download speed never shows anything, despite seeing an extensive list of seeds & peers.

 

I'm wondering if it is some kind of disk access issue.  The network side appears fine.  However when I start a download, no files ever appear in the /data folder (mapped to mnt/user/download/incomplete).

 

Could that be the issue, and if so how would I troubleshoot?

Edited by MediaMaan
adding detail
Link to comment
2 hours ago, MediaMaan said:

Could that be the issue, and if so how would I troubleshoot?

Click on the container on the dashboard, select console

cd /data

dir

touch test.txt

dir

rm test.txt

dir

 

The first dir should show the contents of /mnt/user/download/incomplete

The second dir command should show the added 0 byte file test.txt, the last dir show just the original folder content.

You should also be able to see the test.txt appear in the share if you refresh the content of the folder in any share view.

  • Like 1
Link to comment

Hi All, Hope you can help and its not too dumb a question and I haven't missed something totally obvious, but been beating my head against this one for a few days.

 

Have a delugevpn container setup on a custom network and prowler attached to it with no network of its own. so far so good.

However when I try to setup Prowlarr I can resolve to the container using

 

http://binhex-delugevpn:9696,

 

but trying the same to resolve to the arr's container fails, it does work however if I manually input the ip address of the custom network using

 

http://172.19.0.4:8686 for example,

 

not sure why this is and any help appreciated.

 

 

Edited by Joe Cool
spelling
Link to comment
On 8/1/2022 at 8:02 PM, JonathanM said:

Click on the container on the dashboard, select console

cd /data

...

 

The first dir should show the contents of /mnt/user/download/incomplete

The second dir command should show the added 0 byte file test.txt, the last dir show just the original folder content.

You should also be able to see the test.txt appear in the share if you refresh the content of the folder in any share view.

Thanks Jonathan.

This all worked without error.  I was able to create and see the test files (I actually created multiple, in the incomlete / complete folders Deluge uses).

 

In the end I decided to simply erase all files and delete the share.  I then created a new share, pointed Deluge in the right direction, and everything is functioning again.  Not sure why I had to delete and recreate a share, but it is now working again :-)
 

Link to comment

I am struggling to figure out what happened to my container. Yesterday I had a momentary power loss which resulted in my internet going down, but my UPS kept my unRAID server online. I restored the internet and found my container GUI inaccessible a day or so later. I figure it was related to the internet loss and breaking the VPN connection. No biggie. I restarted the container to re-establish the connection and have no luck getting back into the GUI. Nothing has changed. No configuration change, nothing, but now it won't seem to work. 

 

I dug through the startup log and cannot seem to find a glaring error either. Any guidance would be appreciated. 

 

Container command (passwords removed):

# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-delugevpn' --net='bridge' --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='' -e 'VPN_PASS'='' -e 'VPN_PROV'='custom' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'LAN_NETWORK'='192.168.10.0/24' -e 'NAME_SERVERS'='85.203.37.1,85.203.37.2' -e 'DELUGE_DAEMON_LOG_LEVEL'='info' -e 'DELUGE_WEB_LOG_LEVEL'='info' -e 'VPN_INPUT_PORTS'='7878,5800,5900,9117,8989,9897' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8112:8112/tcp' -p '58846:58846/tcp' -p '58946:58946/tcp' -p '58946:58946/udp' -p '8118:8118/tcp' -p '7878:7878/tcp' -p '9117:9117/tcp' -p '8989:8989/tcp' -p '9897:9897/tcp' -p '8686:8686/tcp' -v '/mnt/user/Downloads/Downloads/':'/data':'rw' -v '/mnt/cache/appdata/binhex-delugevpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-delugevpn'

 

Log from startup (passwords removed and IPs changed)

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

2022-08-05 13:41:36.554341 [info] Host is running unRAID
2022-08-05 13:41:36.606632 [info] System information Linux 8290c25a0b63 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2022-08-05 13:41:36.664016 [info] OS_ARCH defined as 'x86-64'
2022-08-05 13:41:36.721235 [info] PUID defined as '99'
2022-08-05 13:41:38.346542 [info] PGID defined as '100'
2022-08-05 13:41:39.759059 [info] UMASK defined as '000'
2022-08-05 13:41:39.814989 [info] Permissions already set for '/config'
2022-08-05 13:41:39.877230 [info] Deleting files in /tmp (non recursive)...
2022-08-05 13:41:39.942277 [info] VPN_ENABLED defined as 'yes'
2022-08-05 13:41:39.999234 [info] VPN_CLIENT defined as 'openvpn'
2022-08-05 13:41:40.052263 [info] VPN_PROV defined as 'custom'
2022-08-05 13:41:40.115871 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/my_expressvpn_usa_-_chicago_udp.ovpn
2022-08-05 13:41:40.218392 [warn] VPN configuration file /config/openvpn/my_expressvpn_usa_-_chicago_udp.ovpn remote protocol is missing or malformed, assuming protocol 'udp'
2022-08-05 13:41:40.266851 [info] VPN remote server(s) defined as 'usa-chicago-ca-version-2.expressnetw.com,'

2022-08-05 13:41:40.313238 [info] VPN remote port(s) defined as '1195,'
2022-08-05 13:41:40.362507 [info] VPN remote protcol(s) defined as 'udp,'
2022-08-05 13:41:40.416098 [info] VPN_DEVICE_TYPE defined as 'tun0'
2022-08-05 13:41:40.469772 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2022-08-05 13:41:40.524077 [info] LAN_NETWORK defined as '192.168.10.0/24'
2022-08-05 13:41:40.578576 [info] NAME_SERVERS defined as '85.203.37.1,85.203.37.2'
2022-08-05 13:41:40.632005 [info] VPN_USER defined as ''
2022-08-05 13:41:40.686763 [info] VPN_PASS defined as ''
2022-08-05 13:41:40.741505 [info] ENABLE_PRIVOXY defined as 'no'
2022-08-05 13:41:40.801958 [info] VPN_INPUT_PORTS defined as '7878,5800,5900,9117,8989,9897'
2022-08-05 13:41:40.857511 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2022-08-05 13:41:40.913177 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2022-08-05 13:41:40.968820 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2022-08-05 13:41:41.026254 [info] Starting Supervisor...
2022-08-05 13:41:41,528 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2022-08-05 13:41:41,528 INFO Set uid to user 0 succeeded
2022-08-05 13:41:41,533 INFO supervisord started with pid 6
2022-08-05 13:41:42,535 INFO spawned: 'shutdown-script' with pid 187
2022-08-05 13:41:42,537 INFO spawned: 'start-script' with pid 188
2022-08-05 13:41:42,539 INFO spawned: 'watchdog-script' with pid 189
2022-08-05 13:41:42,539 INFO reaped unknown pid 7 (exit status 0)
2022-08-05 13:41:42,578 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2022-08-05 13:41:42,579 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,579 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,579 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,666 DEBG 'start-script' stdout output:
[info] Adding 85.203.37.1 to /etc/resolv.conf

2022-08-05 13:41:42,671 DEBG 'start-script' stdout output:
[info] Adding 85.203.37.2 to /etc/resolv.conf

2022-08-05 13:41:43,045 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2022-08-05 13:41:43,069 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2022-08-05 13:41:43,075 DEBG 'start-script' stdout output:
[info] Adding 192.168.10.0/24 as route via docker eth0

2022-08-05 13:41:43,077 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2022-08-05 13:41:43,079 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.5
192.168.10.0/24 via 172.17.0.1 dev eth0

2022-08-05 13:41:43,079 DEBG 'start-script' stdout output:
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
broadcast 172.17.0.0 dev eth0 table local proto kernel scope link src 172.17.0.5
local 172.17.0.5 dev eth0 table local proto kernel scope host src 172.17.0.5
broadcast 172.17.255.255 dev eth0 table local proto kernel scope link src 172.17.0.5

2022-08-05 13:41:43,079 DEBG 'start-script' stdout output:
--------------------

2022-08-05 13:41:43,084 DEBG 'start-script' stdout output:
iptable_mangle 16384 2
ip_tables 24576 5 iptable_filter,iptable_nat,iptable_mangle

2022-08-05 13:41:43,085 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2022-08-05 13:41:43,282 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2022-08-05 13:41:43,284 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 -s 149.19.196.239/32 -i eth0 -j ACCEPT
-A INPUT -s 45.39.44.2/32 -i eth0 -j ACCEPT
-A INPUT -s 45.39.44.105/32 -i eth0 -j ACCEPT
-A INPUT -s 149.19.196.116/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 7878 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 7878 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 5800 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 5800 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 5900 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 5900 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9117 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 9117 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8989 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8989 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9897 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 9897 -j ACCEPT
-A INPUT -s 192.168.10.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -m tcp --dport 58846 -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 -d 149.19.196.239/32 -o eth0 -j ACCEPT
-A OUTPUT -d 45.39.44.2/32 -o eth0 -j ACCEPT
-A OUTPUT -d 45.39.44.105/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.19.196.116/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 7878 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 7878 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 5800 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 5800 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 5900 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 5900 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9117 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 9117 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8989 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8989 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9897 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 9897 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.10.0/24 -o eth0 -p tcp -m tcp --sport 58846 -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

2022-08-05 13:41:43,285 DEBG 'start-script' stdout output:
--------------------

2022-08-05 13:41:43,286 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2022-08-05 13:41:43,335 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: file 'credentials.conf' is group or others accessible


2022-08-05 13:41:43,335 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 OpenVPN 2.5.7 [git:makepkg/a0f9a3e9404c8321+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 31 2022
2022-08-05 13:41:43 library versions: OpenSSL 1.1.1q 5 Jul 2022, LZO 2.10
2022-08-05 13:41:43 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.

2022-08-05 13:41:43 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2022-08-05 13:41:43,337 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-05 13:41:43 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication

2022-08-05 13:41:43,337 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 TCP/UDP: Preserving recently used remote address: [AF_INET]149.19.196.239:1195
2022-08-05 13:41:43 Socket Buffers: R=[212992->1048576] S=[212992->1048576]
2022-08-05 13:41:43 UDP link local: (not bound)
2022-08-05 13:41:43 UDP link remote: [AF_INET]149.19.196.239:1195

2022-08-05 13:41:43,356 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 TLS: Initial packet from [AF_INET]149.19.196.239:1195, sid=3e2c64b4 29850e4d

2022-08-05 13:41:43,379 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 VERIFY OK: depth=1, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=ExpressVPN CA, [email protected]

2022-08-05 13:41:43,380 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 VERIFY OK: nsCertType=SERVER
2022-08-05 13:41:43 VERIFY X509NAME OK: C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-11070-0a, [email protected]
2022-08-05 13:41:43 VERIFY OK: depth=0, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-11070-0a, [email protected]

2022-08-05 13:41:43,406 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
2022-08-05 13:41:43 [Server-11070-0a] Peer Connection Initiated with [AF_INET]149.19.196.239:1195

2022-08-05 13:41:44,648 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 SENT CONTROL [Server-11070-0a]: 'PUSH_REQUEST' (status=1)

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.122.0.1,comp-lzo no,route 10.122.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.122.1.218 10.122.1.217,peer-id 122,cipher AES-256-GCM'
2022-08-05 13:41:44 OPTIONS IMPORT: timers and/or timeouts modified
2022-08-05 13:41:44 OPTIONS IMPORT: compression parms modified
2022-08-05 13:41:44 OPTIONS IMPORT: --ifconfig/up options modified

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 OPTIONS IMPORT: route options modified
2022-08-05 13:41:44 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2022-08-05 13:41:44 OPTIONS IMPORT: peer-id set
2022-08-05 13:41:44 OPTIONS IMPORT: adjusting link_mtu to 1629
2022-08-05 13:41:44 OPTIONS IMPORT: data channel crypto options modified
2022-08-05 13:41:44 Data Channel: using negotiated cipher 'AES-256-GCM'
2022-08-05 13:41:44 NCP: overriding user-set keysize with default
2022-08-05 13:41:44 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-08-05 13:41:44 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-08-05 13:41:44 net_route_v4_best_gw query: dst 0.0.0.0
2022-08-05 13:41:44 net_route_v4_best_gw result: via 172.17.0.1 dev eth0

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:05

2022-08-05 13:41:44,668 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 TUN/TAP device tun0 opened
2022-08-05 13:41:44 net_iface_mtu_set: mtu 1500 for tun0

2022-08-05 13:41:44,668 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 net_iface_up: set tun0 up
2022-08-05 13:41:44 net_addr_ptp_v4_add: 10.122.1.218 peer 10.122.1.217 dev tun0
2022-08-05 13:41:44 /root/openvpnup.sh tun0 1500 1557 10.122.1.218 10.122.1.217 init

2022-08-05 13:41:46,914 DEBG 'start-script' stdout output:
2022-08-05 13:41:46 net_route_v4_add: 149.19.196.239/32 via 172.17.0.1 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 net_route_v4_add: 0.0.0.0/1 via 10.122.1.217 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 net_route_v4_add: 128.0.0.0/1 via 10.122.1.217 dev [NULL] table 0 metric -1

2022-08-05 13:41:46,914 DEBG 'start-script' stdout output:
2022-08-05 13:41:46 net_route_v4_add: 10.122.0.1/32 via 10.122.1.217 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 Initialization Sequence Completed

2022-08-05 13:41:50,730 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2022-08-05 13:41:50,870 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 85.237.194.94

2022-08-05 13:41:50,872 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2022-08-05 13:41:50,959 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.122.1.218 different, marking for reconfigure

2022-08-05 13:41:50,967 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2022-08-05 13:41:50,973 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2022-08-05 13:41:50,974 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2022-08-05 13:41:51,973 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.122.0.138'
[info] Deluge key 'listen_interface' will have a new value '10.122.1.218'
[info] Writing changes to Deluge config file '/config/core.conf'...

2022-08-05 13:41:52,494 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'...

2022-08-05 13:41:52,984 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of 'e2015e2ba35049b9aea47ad89d31b6a5'
[info] Deluge key 'default_daemon' will have a new value 'e2015e2ba35049b9aea47ad89d31b6a5'
[info] Writing changes to Deluge config file '/config/web.conf'...

2022-08-05 13:41:54,409 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2022-08-05 13:41:54,741 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2022-08-05 13:42:01,909 DEBG 'watchdog-script' stderr output:
<Deferred at 0x14bb4ee22e30 current result: None>

2022-08-05 13:42:02,044 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found


2022-08-05 13:42:02,044 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2022-08-05 13:42:02,045 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

 

Link to comment
19 hours ago, ati said:

I am struggling to figure out what happened to my container. Yesterday I had a momentary power loss which resulted in my internet going down, but my UPS kept my unRAID server online. I restored the internet and found my container GUI inaccessible a day or so later. I figure it was related to the internet loss and breaking the VPN connection. No biggie. I restarted the container to re-establish the connection and have no luck getting back into the GUI. Nothing has changed. No configuration change, nothing, but now it won't seem to work. 

 

***snip***

 

 

I am having this problem as well, except no Internet outage in my case, just my container refusing to let me connect. My symptoms are otherwise identical.

Link to comment
On 8/5/2022 at 8:56 PM, ati said:

I am struggling to figure out what happened to my container. Yesterday I had a momentary power loss which resulted in my internet going down, but my UPS kept my unRAID server online. I restored the internet and found my container GUI inaccessible a day or so later. I figure it was related to the internet loss and breaking the VPN connection. No biggie. I restarted the container to re-establish the connection and have no luck getting back into the GUI. Nothing has changed. No configuration change, nothing, but now it won't seem to work. 

 

I dug through the startup log and cannot seem to find a glaring error either. Any guidance would be appreciated. 

 

Container command (passwords removed):

Set strict port forwarding to "no". That setting is only for PIA users. I can't remember if it does anything when provider is not set to PIA, but worth a shot. Also can you confirm that your router is at 192.168.10.1 ? Since you had a power outage it's not impossible that your router has "reset" and maybe now has a different IP range.

Link to comment
On 8/5/2022 at 1:56 PM, ati said:

I am struggling to figure out what happened to my container. Yesterday I had a momentary power loss which resulted in my internet going down, but my UPS kept my unRAID server online. I restored the internet and found my container GUI inaccessible a day or so later. I figure it was related to the internet loss and breaking the VPN connection. No biggie. I restarted the container to re-establish the connection and have no luck getting back into the GUI. Nothing has changed. No configuration change, nothing, but now it won't seem to work. 

 

I dug through the startup log and cannot seem to find a glaring error either. Any guidance would be appreciated. 

 

Container command (passwords removed):

# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-delugevpn' --net='bridge' --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='' -e 'VPN_PASS'='' -e 'VPN_PROV'='custom' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'LAN_NETWORK'='192.168.10.0/24' -e 'NAME_SERVERS'='85.203.37.1,85.203.37.2' -e 'DELUGE_DAEMON_LOG_LEVEL'='info' -e 'DELUGE_WEB_LOG_LEVEL'='info' -e 'VPN_INPUT_PORTS'='7878,5800,5900,9117,8989,9897' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8112:8112/tcp' -p '58846:58846/tcp' -p '58946:58946/tcp' -p '58946:58946/udp' -p '8118:8118/tcp' -p '7878:7878/tcp' -p '9117:9117/tcp' -p '8989:8989/tcp' -p '9897:9897/tcp' -p '8686:8686/tcp' -v '/mnt/user/Downloads/Downloads/':'/data':'rw' -v '/mnt/cache/appdata/binhex-delugevpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-delugevpn'

 

Log from startup (passwords removed and IPs changed)

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

2022-08-05 13:41:36.554341 [info] Host is running unRAID
2022-08-05 13:41:36.606632 [info] System information Linux 8290c25a0b63 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2022-08-05 13:41:36.664016 [info] OS_ARCH defined as 'x86-64'
2022-08-05 13:41:36.721235 [info] PUID defined as '99'
2022-08-05 13:41:38.346542 [info] PGID defined as '100'
2022-08-05 13:41:39.759059 [info] UMASK defined as '000'
2022-08-05 13:41:39.814989 [info] Permissions already set for '/config'
2022-08-05 13:41:39.877230 [info] Deleting files in /tmp (non recursive)...
2022-08-05 13:41:39.942277 [info] VPN_ENABLED defined as 'yes'
2022-08-05 13:41:39.999234 [info] VPN_CLIENT defined as 'openvpn'
2022-08-05 13:41:40.052263 [info] VPN_PROV defined as 'custom'
2022-08-05 13:41:40.115871 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/my_expressvpn_usa_-_chicago_udp.ovpn
2022-08-05 13:41:40.218392 [warn] VPN configuration file /config/openvpn/my_expressvpn_usa_-_chicago_udp.ovpn remote protocol is missing or malformed, assuming protocol 'udp'
2022-08-05 13:41:40.266851 [info] VPN remote server(s) defined as 'usa-chicago-ca-version-2.expressnetw.com,'

2022-08-05 13:41:40.313238 [info] VPN remote port(s) defined as '1195,'
2022-08-05 13:41:40.362507 [info] VPN remote protcol(s) defined as 'udp,'
2022-08-05 13:41:40.416098 [info] VPN_DEVICE_TYPE defined as 'tun0'
2022-08-05 13:41:40.469772 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2022-08-05 13:41:40.524077 [info] LAN_NETWORK defined as '192.168.10.0/24'
2022-08-05 13:41:40.578576 [info] NAME_SERVERS defined as '85.203.37.1,85.203.37.2'
2022-08-05 13:41:40.632005 [info] VPN_USER defined as ''
2022-08-05 13:41:40.686763 [info] VPN_PASS defined as ''
2022-08-05 13:41:40.741505 [info] ENABLE_PRIVOXY defined as 'no'
2022-08-05 13:41:40.801958 [info] VPN_INPUT_PORTS defined as '7878,5800,5900,9117,8989,9897'
2022-08-05 13:41:40.857511 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2022-08-05 13:41:40.913177 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2022-08-05 13:41:40.968820 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2022-08-05 13:41:41.026254 [info] Starting Supervisor...
2022-08-05 13:41:41,528 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2022-08-05 13:41:41,528 INFO Set uid to user 0 succeeded
2022-08-05 13:41:41,533 INFO supervisord started with pid 6
2022-08-05 13:41:42,535 INFO spawned: 'shutdown-script' with pid 187
2022-08-05 13:41:42,537 INFO spawned: 'start-script' with pid 188
2022-08-05 13:41:42,539 INFO spawned: 'watchdog-script' with pid 189
2022-08-05 13:41:42,539 INFO reaped unknown pid 7 (exit status 0)
2022-08-05 13:41:42,578 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2022-08-05 13:41:42,579 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,579 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,579 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-05 13:41:42,666 DEBG 'start-script' stdout output:
[info] Adding 85.203.37.1 to /etc/resolv.conf

2022-08-05 13:41:42,671 DEBG 'start-script' stdout output:
[info] Adding 85.203.37.2 to /etc/resolv.conf

2022-08-05 13:41:43,045 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2022-08-05 13:41:43,069 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2022-08-05 13:41:43,075 DEBG 'start-script' stdout output:
[info] Adding 192.168.10.0/24 as route via docker eth0

2022-08-05 13:41:43,077 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2022-08-05 13:41:43,079 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.5
192.168.10.0/24 via 172.17.0.1 dev eth0

2022-08-05 13:41:43,079 DEBG 'start-script' stdout output:
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
broadcast 172.17.0.0 dev eth0 table local proto kernel scope link src 172.17.0.5
local 172.17.0.5 dev eth0 table local proto kernel scope host src 172.17.0.5
broadcast 172.17.255.255 dev eth0 table local proto kernel scope link src 172.17.0.5

2022-08-05 13:41:43,079 DEBG 'start-script' stdout output:
--------------------

2022-08-05 13:41:43,084 DEBG 'start-script' stdout output:
iptable_mangle 16384 2
ip_tables 24576 5 iptable_filter,iptable_nat,iptable_mangle

2022-08-05 13:41:43,085 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2022-08-05 13:41:43,282 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2022-08-05 13:41:43,284 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 -s 149.19.196.239/32 -i eth0 -j ACCEPT
-A INPUT -s 45.39.44.2/32 -i eth0 -j ACCEPT
-A INPUT -s 45.39.44.105/32 -i eth0 -j ACCEPT
-A INPUT -s 149.19.196.116/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 7878 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 7878 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 5800 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 5800 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 5900 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 5900 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9117 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 9117 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8989 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8989 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9897 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 9897 -j ACCEPT
-A INPUT -s 192.168.10.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -m tcp --dport 58846 -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 -d 149.19.196.239/32 -o eth0 -j ACCEPT
-A OUTPUT -d 45.39.44.2/32 -o eth0 -j ACCEPT
-A OUTPUT -d 45.39.44.105/32 -o eth0 -j ACCEPT
-A OUTPUT -d 149.19.196.116/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 7878 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 7878 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 5800 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 5800 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 5900 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 5900 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9117 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 9117 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8989 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8989 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9897 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 9897 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.10.0/24 -o eth0 -p tcp -m tcp --sport 58846 -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

2022-08-05 13:41:43,285 DEBG 'start-script' stdout output:
--------------------

2022-08-05 13:41:43,286 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2022-08-05 13:41:43,335 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6

2022-08-05 13:41:43 WARNING: file 'credentials.conf' is group or others accessible


2022-08-05 13:41:43,335 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 OpenVPN 2.5.7 [git:makepkg/a0f9a3e9404c8321+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 31 2022
2022-08-05 13:41:43 library versions: OpenSSL 1.1.1q 5 Jul 2022, LZO 2.10
2022-08-05 13:41:43 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.

2022-08-05 13:41:43 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2022-08-05 13:41:43,337 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-05 13:41:43 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication

2022-08-05 13:41:43,337 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 TCP/UDP: Preserving recently used remote address: [AF_INET]149.19.196.239:1195
2022-08-05 13:41:43 Socket Buffers: R=[212992->1048576] S=[212992->1048576]
2022-08-05 13:41:43 UDP link local: (not bound)
2022-08-05 13:41:43 UDP link remote: [AF_INET]149.19.196.239:1195

2022-08-05 13:41:43,356 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 TLS: Initial packet from [AF_INET]149.19.196.239:1195, sid=3e2c64b4 29850e4d

2022-08-05 13:41:43,379 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 VERIFY OK: depth=1, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=ExpressVPN CA, [email protected]

2022-08-05 13:41:43,380 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 VERIFY OK: nsCertType=SERVER
2022-08-05 13:41:43 VERIFY X509NAME OK: C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-11070-0a, [email protected]
2022-08-05 13:41:43 VERIFY OK: depth=0, C=VG, ST=BVI, O=ExpressVPN, OU=ExpressVPN, CN=Server-11070-0a, [email protected]

2022-08-05 13:41:43,406 DEBG 'start-script' stdout output:
2022-08-05 13:41:43 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
2022-08-05 13:41:43 [Server-11070-0a] Peer Connection Initiated with [AF_INET]149.19.196.239:1195

2022-08-05 13:41:44,648 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 SENT CONTROL [Server-11070-0a]: 'PUSH_REQUEST' (status=1)

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.122.0.1,comp-lzo no,route 10.122.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.122.1.218 10.122.1.217,peer-id 122,cipher AES-256-GCM'
2022-08-05 13:41:44 OPTIONS IMPORT: timers and/or timeouts modified
2022-08-05 13:41:44 OPTIONS IMPORT: compression parms modified
2022-08-05 13:41:44 OPTIONS IMPORT: --ifconfig/up options modified

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 OPTIONS IMPORT: route options modified
2022-08-05 13:41:44 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2022-08-05 13:41:44 OPTIONS IMPORT: peer-id set
2022-08-05 13:41:44 OPTIONS IMPORT: adjusting link_mtu to 1629
2022-08-05 13:41:44 OPTIONS IMPORT: data channel crypto options modified
2022-08-05 13:41:44 Data Channel: using negotiated cipher 'AES-256-GCM'
2022-08-05 13:41:44 NCP: overriding user-set keysize with default
2022-08-05 13:41:44 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-08-05 13:41:44 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-08-05 13:41:44 net_route_v4_best_gw query: dst 0.0.0.0
2022-08-05 13:41:44 net_route_v4_best_gw result: via 172.17.0.1 dev eth0

2022-08-05 13:41:44,667 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:05

2022-08-05 13:41:44,668 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 TUN/TAP device tun0 opened
2022-08-05 13:41:44 net_iface_mtu_set: mtu 1500 for tun0

2022-08-05 13:41:44,668 DEBG 'start-script' stdout output:
2022-08-05 13:41:44 net_iface_up: set tun0 up
2022-08-05 13:41:44 net_addr_ptp_v4_add: 10.122.1.218 peer 10.122.1.217 dev tun0
2022-08-05 13:41:44 /root/openvpnup.sh tun0 1500 1557 10.122.1.218 10.122.1.217 init

2022-08-05 13:41:46,914 DEBG 'start-script' stdout output:
2022-08-05 13:41:46 net_route_v4_add: 149.19.196.239/32 via 172.17.0.1 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 net_route_v4_add: 0.0.0.0/1 via 10.122.1.217 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 net_route_v4_add: 128.0.0.0/1 via 10.122.1.217 dev [NULL] table 0 metric -1

2022-08-05 13:41:46,914 DEBG 'start-script' stdout output:
2022-08-05 13:41:46 net_route_v4_add: 10.122.0.1/32 via 10.122.1.217 dev [NULL] table 0 metric -1
2022-08-05 13:41:46 Initialization Sequence Completed

2022-08-05 13:41:50,730 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2022-08-05 13:41:50,870 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 85.237.194.94

2022-08-05 13:41:50,872 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2022-08-05 13:41:50,959 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.122.1.218 different, marking for reconfigure

2022-08-05 13:41:50,967 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2022-08-05 13:41:50,973 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2022-08-05 13:41:50,974 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2022-08-05 13:41:51,973 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.122.0.138'
[info] Deluge key 'listen_interface' will have a new value '10.122.1.218'
[info] Writing changes to Deluge config file '/config/core.conf'...

2022-08-05 13:41:52,494 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'...

2022-08-05 13:41:52,984 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of 'e2015e2ba35049b9aea47ad89d31b6a5'
[info] Deluge key 'default_daemon' will have a new value 'e2015e2ba35049b9aea47ad89d31b6a5'
[info] Writing changes to Deluge config file '/config/web.conf'...

2022-08-05 13:41:54,409 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2022-08-05 13:41:54,741 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2022-08-05 13:42:01,909 DEBG 'watchdog-script' stderr output:
<Deferred at 0x14bb4ee22e30 current result: None>

2022-08-05 13:42:02,044 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found


2022-08-05 13:42:02,044 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2022-08-05 13:42:02,045 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

 

Well it is working again. I waited a day and then I was able to connect again. No clue. :/

Regardless, no settings changes, just was a little more patient. Maybe it was a cache issue with my browser or something.

Link to comment

Hello,

On my side, I also have a problem accessing the Deluge web interface. However, several months ago, it was working fine.

Access via a web browser with port 8112 does not work, however access to the deluge server via port 58846 has no problem.

Radarr and Sonarr no longer have access to deluge client either.

I specify that I use a bridge network for docker corresponding to my LAN network.

Here is the docker command launched by UnRaid:

docker run -d --name='Deluge-Server' --net='br0' --ip='192.168.22.116' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e HOST_HOSTNAME="UnRaid" -e HOST_CONTAINERNAME="Deluge-Server" -e 'TCP_PORT_8112'='8112' -e 'TCP_PORT_58846'='58846' -e 'TCP_PORT_58946'='58946' -e 'UDP_PORT_58946'='58946' -e 'TCP_PORT_8118'='8118' -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='userVPN' -e 'VPN_PASS'='passVPN' -e 'VPN_PROV'='custom' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='no' -e 'ENABLE_PRIVOXY'='no' -e 'LAN_NETWORK'='192.168.22.0/24' -e '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' -e 'DELUGE_DAEMON_LOG_LEVEL'='info' -e 'DELUGE_WEB_LOG_LEVEL'='info' -e 'VPN_INPUT_PORTS'='' -e 'VPN_OUTPUT_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -e 'DEBUG'='true' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8112]/' -l net.unraid.docker.icon='https://raw.githubusercontent.com/binhex/docker-templates/master/binhex/images/deluge-icon.png' -v '/mnt/user/Downloads/':'/data':'rw' -v '/mnt/user/Downloads/incomplete/':'/data/incomplete':'rw' -v '/mnt/user/Downloads/completed/':'/data/completed':'rw' -v '/mnt/user/Downloads/Torrents/':'/data/torrents':'rw' -v '/mnt/user/appdata/binhex-delugevpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-delugevpn'

 

Here are the logs of the supervisord.log file:

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

2022-08-08 19:23:22.790523 [info] Host is running unRAID
2022-08-08 19:23:22.818061 [info] System information Linux d59addff88ee 5.15.46-Unraid #1 SMP Fri Jun 10 11:08:41 PDT 2022 x86_64 GNU/Linux
2022-08-08 19:23:22.856634 [info] OS_ARCH defined as 'x86-64'
2022-08-08 19:23:22.892350 [info] PUID defined as '99'
2022-08-08 19:23:23.353848 [info] PGID defined as '100'
2022-08-08 19:23:23.999749 [info] UMASK defined as '000'
2022-08-08 19:23:24.018719 [info] Permissions already set for '/config'
2022-08-08 19:23:24.127228 [info] Deleting files in /tmp (non recursive)...
2022-08-08 19:23:24.176843 [info] VPN_ENABLED defined as 'yes'
2022-08-08 19:23:24.198596 [info] VPN_CLIENT defined as 'openvpn'
2022-08-08 19:23:24.219316 [info] VPN_PROV defined as 'custom'
2022-08-08 19:23:24.263896 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/de1087.nordvpn.com.udp1194.ovpn
2022-08-08 19:23:24.321809 [info] VPN remote server(s) defined as '194.233.96.136,'
2022-08-08 19:23:24.338119 [info] VPN remote port(s) defined as '1194,'
2022-08-08 19:23:24.355005 [info] VPN remote protcol(s) defined as 'udp,'
2022-08-08 19:23:24.376134 [info] VPN_DEVICE_TYPE defined as 'tun0'
2022-08-08 19:23:24.396914 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2022-08-08 19:23:24.417053 [info] LAN_NETWORK defined as '192.168.22.0/24'
2022-08-08 19:23:24.436229 [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'
2022-08-08 19:23:24.456988 [info] VPN_USER defined as 'userVPN'
2022-08-08 19:23:24.478114 [info] VPN_PASS defined as 'passVPN'
2022-08-08 19:23:24.498248 [info] ENABLE_PRIVOXY defined as 'no'
2022-08-08 19:23:24.519740 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2022-08-08 19:23:24.539606 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2022-08-08 19:23:24.559181 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2022-08-08 19:23:24.578829 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2022-08-08 19:23:24.601629 [info] Starting Supervisor...
2022-08-08 19:23:26,367 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2022-08-08 19:23:26,367 INFO Set uid to user 0 succeeded
2022-08-08 19:23:26,411 INFO supervisord started with pid 7
2022-08-08 19:23:27,413 INFO spawned: 'shutdown-script' with pid 183
2022-08-08 19:23:27,415 INFO spawned: 'start-script' with pid 184
2022-08-08 19:23:27,416 INFO spawned: 'watchdog-script' with pid 185
2022-08-08 19:23:27,416 INFO reaped unknown pid 8 (exit status 0)
2022-08-08 19:23:27,435 DEBG 'shutdown-script' stdout output:
[info] Signal not specified as parameter 2, assuming signal '15' (sigterm)
[info] Process owner not specified as parameter 3, assuming owner 'nobody'

2022-08-08 19:23:27,436 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-08 19:23:27,436 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-08 19:23:27,436 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-08-08 19:23:27,436 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2022-08-08 19:23:27,442 DEBG 'start-script' stdout output:
[warn] Username contains characters which could cause authentication issues, please consider changing this if possible

2022-08-08 19:23:27,445 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2022-08-08 19:23:27,477 DEBG 'start-script' stdout output:
[debug] Contents of ovpn file /config/openvpn/de1087.nordvpn.com.udp1194.ovpn as follows...

2022-08-08 19:23:27,478 DEBG 'start-script' stdout output:
client
dev tun
proto udp
remote 194.233.96.136 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
ping 15
ping-restart 0
ping-timer-rem
comp-lzo no
verify-x509-name CN=de1087.nordvpn.com

remote-cert-tls server

auth-user-pass credentials.conf
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
MIIFCjCCAvKgAwIBAgIBATANBgkqhkiG9w0BAQ0FADA5MQswCQYDVQQGEwJQQTEQ
MA4GA1UEChMHTm9yZFZQTjEYMBYGA1UEAxMPTm9yZFZQTiBSb290IENBMB4XDTE2
MDEwMTAwMDAwMFoXDTM1MTIzMTIzNTk1OVowOTELMAkGA1UEBhMCUEExEDAOBgNV
BAoTB05vcmRWUE4xGDAWBgNVBAMTD05vcmRWUE4gUm9vdCBDQTCCAiIwDQYJKoZI
hvcNAQEBBQADggIPADCCAgoCggIBAMkr/BYhyo0F2upsIMXwC6QvkZps3NN2/eQF
kfQIS1gql0aejsKsEnmY0Kaon8uZCTXPsRH1gQNgg5D2gixdd1mJUvV3dE3y9FJr
XMoDkXdCGBodvKJyU6lcfEVF6/UxHcbBguZK9UtRHS9eJYm3rpL/5huQMCppX7kU
eQ8dpCwd3iKITqwd1ZudDqsWaU0vqzC2H55IyaZ/5/TnCk31Q1UP6BksbbuRcwOV
skEDsm6YoWDnn/IIzGOYnFJRzQH5jTz3j1QBvRIuQuBuvUkfhx1FEwhwZigrcxXu
MP+QgM54kezgziJUaZcOM2zF3lvrwMvXDMfNeIoJABv9ljw969xQ8czQCU5lMVmA
37ltv5Ec9U5hZuwk/9QO1Z+d/r6Jx0mlurS8gnCAKJgwa3kyZw6e4FZ8mYL4vpRR
hPdvRTWCMJkeB4yBHyhxUmTRgJHm6YR3D6hcFAc9cQcTEl/I60tMdz33G6m0O42s
Qt/+AR3YCY/RusWVBJB/qNS94EtNtj8iaebCQW1jHAhvGmFILVR9lzD0EzWKHkvy
WEjmUVRgCDd6Ne3eFRNS73gdv/C3l5boYySeu4exkEYVxVRn8DhCxs0MnkMHWFK6
MyzXCCn+JnWFDYPfDKHvpff/kLDobtPBf+Lbch5wQy9quY27xaj0XwLyjOltpiST
LWae/Q4vAgMBAAGjHTAbMAwGA1UdEwQFMAMBAf8wCwYDVR0PBAQDAgEGMA0GCSqG
SIb3DQEBDQUAA4ICAQC9fUL2sZPxIN2mD32VeNySTgZlCEdVmlq471o/bDMP4B8g
nQesFRtXY2ZCjs50Jm73B2LViL9qlREmI6vE5IC8IsRBJSV4ce1WYxyXro5rmVg/
k6a10rlsbK/eg//GHoJxDdXDOokLUSnxt7gk3QKpX6eCdh67p0PuWm/7WUJQxH2S
DxsT9vB/iZriTIEe/ILoOQF0Aqp7AgNCcLcLAmbxXQkXYCCSB35Vp06u+eTWjG0/
pyS5V14stGtw+fA0DJp5ZJV4eqJ5LqxMlYvEZ/qKTEdoCeaXv2QEmN6dVqjDoTAo
k0t5u4YRXzEVCfXAC3ocplNdtCA72wjFJcSbfifgrBSC8bDACTXtnPC7nD0VndZLp
+RiNLeiENhk0oTC+UVdSc+n2nJOzkCK0vYu0Ads4JGIB7g8IB3z2t9ICmsWrgnhd
NdcOe15BincrGA8avQ1cWXsfIKEjbrnEuEk9b5jel6NfHtPKoHc9mDpRdNPISeVa
wDBM1mJChneHt59Nh8Gah74+TM1jBsw4fhJPvoc7Atcg740JErb904mZfkIEmojC
VPhBHVQ9LHBAdM8qFI2kRK0IynOmAZhexlP/aT/kpEsEPyaZQlnBn3An1CRz8h0S
PApL8PytggYKeQmRhl499+6jLxcZ2IegLfqq41dzIjwHwTMplg+1pKIOVojpWA==
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
e685bdaf659a25a200e2b9e39e51ff03
0fc72cf1ce07232bd8b2be5e6c670143
f51e937e670eee09d4f2ea5a6e4e6996
5db852c275351b86fc4ca892d78ae002
d6f70d029bd79cdfd126cf14e9588033
cf639f8a74809f29f72b9d58f9b8f5fe
fc7938eade40e9fed6cb92184abb2cc1
0eb1a296df243b251df0643d53724cdb
5a92a1d6cb817804c4a9319b57d53be5
80815bcfcb2df55018cc83fc43bc7ff8
2d51f9b88364776ee9d12fc85cc7ea5b
9741c4f598c485316db066d52db4540e
212e1518a9bd4828219e24b20d88f598
a196c9de96012090e333519ae18d3509
9427e7b372d348d352dc4c85e18cd4b9
3f8a56ddb2e64eb67adfc9b337157ff4
-----END OpenVPN Static key V1-----
</tls-auth>

2022-08-08 19:23:27,484 DEBG 'start-script' stdout output:
[debug] Environment variables defined as follows
ADDITIONAL_PORTS=
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=()

2022-08-08 19:23:27,484 DEBG 'start-script' stdout output:
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/root/start.sh")
BASH_VERSINFO=([0]="5" [1]="1" [2]="16" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.1.16(1)-release'
DEBUG=true
DELUGE_DAEMON_LOG_LEVEL=info
DELUGE_WEB_LOG_LEVEL=info
DIRSTACK=()
ENABLE_PRIVOXY=no
EUID=0
GROUPS=()
HOME=/home/nobody
HOSTNAME=d59addff88ee
HOSTTYPE=x86_64
HOST_CONTAINERNAME=Deluge-Server
HOST_HOSTNAME=UnRaid
HOST_OS=Unraid
IFS=$' \t\n'
LANG=en_GB.UTF-8
LAN_NETWORK=192.168.22.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
OS_ARCH=x86-64
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID=100
PIPESTATUS=([0]="0")
PPID=7
PS4='+ '
PUID=99
PWD=/
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
STRICT_PORT_FORWARD=no
SUPERVISOR_ENABLED=1
SUPERVISOR_GROUP_NAME=start-script
SUPERVISOR_PROCESS_NAME=start-script
TCP_PORT_58846=58846
TCP_PORT_58946=58946
TCP_PORT_8112=8112
TCP_PORT_8118=8118
TERM=xterm
TZ=Europe/Paris
UDP_PORT_58946=58946
UID=0
UMASK=000
VPN_CLIENT=openvpn
VPN_CONFIG=/config/openvpn/de1087.nordvpn.com.udp1194.ovpn
VPN_DEVICE_TYPE=tun0
VPN_ENABLED=yes
VPN_INPUT_PORTS=
VPN_OPTIONS=
VPN_OUTPUT_PORTS=
VPN_PASS='passVPN'
VPN_PROV=custom
VPN_REMOTE_PORT=1194,
VPN_REMOTE_PROTOCOL=udp,
VPN_REMOTE_SERVER=194.233.96.136,
VPN_USER=userVPN
_='[debug] Environment variables defined as follows'
password_char_check='*'
username_char_check=.
vpn_ping='ping 15'
[debug] Directory listing of files in /config/openvpn/ as follows

2022-08-08 19:23:27,504 DEBG 'start-script' stdout output:
total 8
drwxrwxr-x 1 nobody users   62 Aug  8 19:23 .
drwxrwxr-x 1 nobody users  124 Aug  8 19:23 ..
-rwxrwxr-x 1 nobody users   45 Aug  8 19:23 credentials.conf
-rwxrwxr-x 1 nobody users 2841 Aug  8 19:23 de1087.nordvpn.com.udp1194.ovpn

2022-08-08 19:23:27,504 DEBG 'start-script' stdout output:
[debug] Contents of OpenVPN config file '/config/openvpn/de1087.nordvpn.com.udp1194.ovpn' as follows...

2022-08-08 19:23:27,505 DEBG 'start-script' stdout output:
client
dev tun
proto udp
remote 194.233.96.136 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
ping 15
ping-restart 0
ping-timer-rem
comp-lzo no
verify-x509-name CN=de1087.nordvpn.com

remote-cert-tls server

auth-user-pass credentials.conf
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
MIIFCjCCAvKgAwIBAgIBATANBgkqhkiG9w0BAQ0FADA5MQswCQYDVQQGEwJQQTEQ
MA4GA1UEChMHTm9yZFZQTjEYMBYGA1UEAxMPTm9yZFZQTiBSb290IENBMB4XDTE2
MDEwMTAwMDAwMFoXDTM1MTIzMTIzNTk1OVowOTELMAkGA1UEBhMCUEExEDAOBgNV
BAoTB05vcmRWUE4xGDAWBgNVBAMTD05vcmRWUE4gUm9vdCBDQTCCAiIwDQYJKoZI
hvcNAQEBBQADggIPADCCAgoCggIBAMkr/BYhyo0F2upsIMXwC6QvkZps3NN2/eQF
kfQIS1gql0aejsKsEnmY0Kaon8uZCTXPsRH1gQNgg5D2gixdd1mJUvV3dE3y9FJr
XMoDkXdCGBodvKJyU6lcfEVF6/rgHcbBguZK9UtRHS9eJYm3rpL/5huQMCppX7kU
eQ8dpCwd3iKITqwd1ZudDqsWaU0vqzC2H55IyaZ/5/TnCk31Q1UP6BksbbuRcwOV
skEDsm6YoWDnn/IIzGOYnFJRzQH5jTz3j1QBvRIuQuBuvUkfhx1FEwhwZigrcxXu
MP+QgM54kezgziJUaZcOM2zF3lvrwMvXDMfNeIoJABv9ljw969xQ8czQCU5lMVmA
37ltv5Ec9U5hZuwk/9QO1Z+d/r6Jx0mlurS8gnCAKJgwa3kyZw6e4FZ8mYL4vpRR
hPdvRTWCMJkeB4yBHyhxUmTRgJHm6YR3D6hcFAc9cQcTEl/I60tMdz33G6m0O42s
Qt/+AR3YCY/RusWVBJB/qNS94EtNtj8iaebCQW1jHAhvGmFILVR9lzD0EzWKHkvy
WEjmUVRgCDd6Ne3eFRNS73gdv/C3l5boYySeu4exkEYVxVRn8DhCxs0MnkMHWFK6
MyzXCCn+JnWFDYPfDKHvpff/kLDobtPBf+Lbch5wQy9quY27xaj0XwLyjOltpiST
LWae/Q4vAgMBAAGjHTAbMAwGA1UdEwQFMAMBAf8wCwYDVR0PBAQDAgEGMA0GCSqG
SIb3DQEBDQUAA4ICAQC9fUL2sZPxIN2mD32VeNySTgZlCEdVmlq471o/bDMP4B8g
nQesFRtXY2ZCjs50Jm73B2LViL9qlREmI6vE5IC8IsRBJSV4ce1WYxyXro5rmVg/
k6a10rlsbK/eg//GHoJxDdXDOokLUSnxt7gk3QKpX6eCdh67p0PuWm/7WUJQxH2S
DxsT9vB/iZriTIEe/ILoOQF0Aqp7AgNCcLcLAmbxXQkXYCCSB35Vp06u+eTWjG0/
pyS5V14stGtw+fA0DJp5ZJV4eqJ5LqxMlYvEZ/qKTEdoCeaXv2QEmN6dVqjDoTAo
k0t5u4YRXzEVCfXAC3ocplNdtCA72wjFJcSbfif4BSC8bDACTXtnPC7nD0VndZLp
+RiNLeiENhk0oTC+UVdSc+n2nJOzkCK0vYu0Ads4JGIB7g8IB3z2t9ICmsWrgnhd
NdcOe15BincrGA8avQ1cWXsfIKEjbrnEuEk9b5jel6NfHtPKoHc9mDpRdNPISeVa
wDBM1mJChneHt59Nh8Gah74+TM1jBsw4fhJPvoc7Atcg740JErb904mZfkIEmojC
VPhBHVQ9LHBAdM8qFI2kRK0IynOmAZhexlP/aT/kpEsEPyaZQlnBn3An1CRz8h0S
PApL8PytggYKeQmRhl499+6jLxcZ2IegLfqq41dzIjwHwTMplg+1pKIOVojpWA==
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
e685bdaf659a25a200e2b9e39e51ff03
0fc72cf1ce07232bd8b2be5e6c670143
f51e937e670eee09d4f2ea5a6e4e6996
5db852c275351b86fc4csd92d78ae002
d6f70d029bd79c4d1c26cf14e9588033
cf639f8a74809f29f72b9d58f9b8f5fe
fc7938eade40e9fed6cb92184abb2cc1
0eb1a296df243b251df0643d53724cdb
5a92a1d6cb817804c4a9319b57d53be5
80815bcfcb2df55018cc83fc43bc7ff8
2d51f9b88364776ee9d12fc85cc7ea5b
9741c4f598c485316db066d52db4540e
212e1518a9bd4828219e24b20d88f598
a196c9de96012090e333519ae18d3509
9427e7b372d348d352dc4c85e18cd4b9
3f8a56ddb2e64eb67adfc9b337157ff4
-----END OpenVPN Static key V1-----
</tls-auth>

2022-08-08 19:23:27,509 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2022-08-08 19:23:27,512 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2022-08-08 19:23:27,515 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2022-08-08 19:23:27,518 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2022-08-08 19:23:27,522 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2022-08-08 19:23:27,525 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2022-08-08 19:23:27,528 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2022-08-08 19:23:27,532 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2022-08-08 19:23:27,536 DEBG 'start-script' stdout output:
194.233.96.136

2022-08-08 19:23:27,574 DEBG 'start-script' stdout output:
[debug] Show name servers defined for container

2022-08-08 19:23:27,575 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

2022-08-08 19:23:27,575 DEBG 'start-script' stdout output:
[debug] Show name resolution for VPN endpoint 194.233.96.136

2022-08-08 19:23:42,608 DEBG 'start-script' stdout output:
;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 3652
;; flags: qr aa rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 
;; QUESTION SECTION:
;; 194.233.96.136.	IN	A

;; ANSWER SECTION:

;; AUTHORITY SECTION:
.	86400	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2022080800 1800 900 604800 86400

;; ADDITIONAL SECTION:

;; Query time: 7 msec
;; SERVER: 1.1.1.1
;; WHEN: Mon Aug  8 19:23:42 2022
;; MSG SIZE  rcvd: 107

2022-08-08 19:23:42,608 DEBG 'start-script' stdout output:
[debug] Show contents of hosts file

2022-08-08 19:23:42,609 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
192.168.22.116	d59addff88ee

2022-08-08 19:23:42,690 DEBG 'start-script' stdout output:
[debug] Docker interface defined as eth0

2022-08-08 19:23:42,694 DEBG 'start-script' stdout output:
[info] Default route for container is 192.168.22.254

2022-08-08 19:23:42,697 DEBG 'start-script' stdout output:
[debug] Docker IP defined as 192.168.22.116

2022-08-08 19:23:42,700 DEBG 'start-script' stdout output:
[debug] Docker netmask defined as 255.255.255.0

2022-08-08 19:23:42,710 DEBG 'start-script' stdout output:
[info] Docker network defined as    192.168.22.0/24

2022-08-08 19:23:42,714 DEBG 'start-script' stdout output:
[info] Adding 192.168.22.0/24 as route via docker eth0

2022-08-08 19:23:42,715 DEBG 'start-script' stderr output:
RTNETLINK answers: File exists

2022-08-08 19:23:42,715 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2022-08-08 19:23:42,716 DEBG 'start-script' stdout output:
default via 192.168.22.254 dev eth0 
192.168.22.0/24 dev eth0 proto kernel scope link src 192.168.22.116 

2022-08-08 19:23:42,716 DEBG 'start-script' stdout output:
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1 
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1 
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1 
local 192.168.22.116 dev eth0 table local proto kernel scope host src 192.168.22.116 
broadcast 192.168.22.255 dev eth0 table local proto kernel scope link src 192.168.22.116 

2022-08-08 19:23:42,716 DEBG 'start-script' stdout output:
--------------------
[debug] Modules currently loaded for kernel

2022-08-08 19:23:42,719 DEBG 'start-script' stdout output:
Module                  Size  Used by
xt_state               16384  0
nft_compat             16384  0
nft_counter            16384  0
nf_tables             217088  2 nft_compat,nft_counter
xt_mark                16384  0
veth                   32768  0
xt_nat                 16384  63
macvlan                28672  0
xt_CHECKSUM            16384  1
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  78
ip6table_mangle        16384  1
ip6table_nat           16384  1
iptable_mangle         16384  1
vhost_net              24576  0
tun                    53248  1 vhost_net
vhost                  40960  1 vhost_net
vhost_iotlb            16384  1 vhost
tap                    24576  1 vhost_net
xt_conntrack           16384  4
xt_MASQUERADE          16384  9
nf_conntrack_netlink    49152  0
nfnetlink              16384  4 nft_compat,nf_conntrack_netlink,nf_tables
xt_addrtype            16384  2
iptable_nat            16384  16
nf_nat                 49152  4 ip6table_nat,xt_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          139264  6 xt_conntrack,nf_nat,xt_state,xt_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         16384  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
br_netfilter           24576  0
xfs                  1585152  4
nfsd                  487424  11
auth_rpcgss           135168  1 nfsd
oid_registry           16384  1 auth_rpcgss
lockd                 102400  1 nfsd
grace                  16384  2 nfsd,lockd
sunrpc                565248  13 nfsd,auth_rpcgss,lockd
md_mod                 49152  4
nct6775                65536  0
hwmon_vid              16384  1 nct6775
ip6table_filter        16384  1
ip6_tables             28672  3 ip6table_filter,ip6table_nat,ip6table_mangle
iptable_filter         16384  2
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               45056  18 ip6table_filter,xt_conntrack,iptable_filter,ip6table_nat,nft_compat,xt_state,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,iptable_nat,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark
igb                   188416  0
ast                    49152  0
drm_vram_helper        20480  1 ast
drm_ttm_helper         16384  2 drm_vram_helper,ast
ttm                    69632  2 drm_vram_helper,drm_ttm_helper
drm_kms_helper        253952  4 drm_vram_helper,ast
drm                   487424  6 drm_kms_helper,drm_vram_helper,ast,drm_ttm_helper,ttm
nvme                   45056  1
ipmi_ssif              32768  0
edac_mce_amd           32768  0
kvm_amd               122880  0
kvm                   897024  1 kvm_amd
wmi_bmof               16384  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  3
ghash_clmulni_intel    16384  0
aesni_intel           380928  0
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
backlight              20480  2 drm_kms_helper,drm
rapl                   16384  0
i2c_piix4              24576  0
k10temp                16384  0
agpgart                36864  1 ttm
nvme_core             102400  2 nvme
ccp                    81920  1 kvm_amd
syscopyarea            16384  1 drm_kms_helper
i2c_algo_bit           16384  2 igb,ast
sr_mod                 28672  0
sysfillrect            16384  1 drm_kms_helper
input_leds             16384  0
sysimgblt              16384  1 drm_kms_helper
ahci                   45056  5
i2c_core               86016  7 drm_kms_helper,i2c_algo_bit,igb,ast,i2c_piix4,ipmi_ssif,drm
fb_sys_fops            16384  1 drm_kms_helper
led_class              16384  1 input_leds
cdrom                  40960  1 sr_mod
acpi_ipmi              16384  0
libahci                40960  1 ahci
ipmi_si                53248  1
wmi                    28672  1 wmi_bmof
button                 20480  0
acpi_cpufreq           16384  0

2022-08-08 19:23:42,723 DEBG 'start-script' stdout output:
iptable_mangle         16384  1
ip_tables              28672  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               45056  18 ip6table_filter,xt_conntrack,iptable_filter,ip6table_nat,nft_compat,xt_state,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,iptable_nat,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark

2022-08-08 19:23:42,723 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2022-08-08 19:23:42,786 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2022-08-08 19:23:42,787 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 192.168.22.0/24 -d 192.168.22.0/24 -j ACCEPT
-A INPUT -s 194.233.96.136/32 -i eth0 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 8112 -j ACCEPT
-A INPUT -s 192.168.22.0/24 -d 192.168.22.0/24 -i eth0 -p tcp -m tcp --dport 58846 -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 192.168.22.0/24 -d 192.168.22.0/24 -j ACCEPT
-A OUTPUT -d 194.233.96.136/32 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 8112 -j ACCEPT
-A OUTPUT -s 192.168.22.0/24 -d 192.168.22.0/24 -o eth0 -p tcp -m tcp --sport 58846 -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

2022-08-08 19:23:42,788 DEBG 'start-script' stdout output:
--------------------

2022-08-08 19:23:42,788 DEBG 'start-script' stdout output:
[debug] VPN remote configuration options as follows...
[debug] VPN remote server is defined as '194.233.96.136'
[debug] VPN remote port is defined as '1194'

2022-08-08 19:23:42,788 DEBG 'start-script' stdout output:
[debug] VPN remote protocol is defined as 'udp'
[debug] VPN remote ip is defined as '194.233.96.136'
[debug] OpenVPN command line:- /usr/bin/openvpn --reneg-sec 0 --mute-replay-warnings --auth-nocache --setenv VPN_PROV 'custom' --setenv VPN_CLIENT 'openvpn' --setenv DEBUG 'true' --setenv VPN_DEVICE_TYPE 'tun0' --setenv VPN_ENABLED 'yes' --setenv VPN_REMOTE_SERVER '194.233.96.136' --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 'dhcp-option DNS6' --pull-filter ignore 'persist-tun' --pull-filter ignore 'reneg-sec' --up /root/openvpnup.sh --up-delay --up-restart --auth-user-pass credentials.conf --cd /config/openvpn --config '/config/openvpn/de1087.nordvpn.com.udp1194.ovpn' --remote 194.233.96.136 1194 udp --remote-random
[info] Starting OpenVPN (non daemonised)...

2022-08-08 19:23:42,961 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

2022-08-08 19:23:42,961 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 WARNING: file 'credentials.conf' is group or others accessible
2022-08-08 19:23:42 OpenVPN 2.5.7 [git:makepkg/a0f9a3e9404c8321+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 31 2022
2022-08-08 19:23:42 library versions: OpenSSL 1.1.1q  5 Jul 2022, LZO 2.10

2022-08-08 19:23:42,961 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 WARNING: --ping should normally be used with --ping-restart or --ping-exit
2022-08-08 19:23:42 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2022-08-08 19:23:42,962 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-08-08 19:23:42 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication

2022-08-08 19:23:42,962 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 TCP/UDP: Preserving recently used remote address: [AF_INET]194.233.96.136:1194
2022-08-08 19:23:42 Socket Buffers: R=[212992->212992] S=[212992->212992]
2022-08-08 19:23:42 UDP link local: (not bound)
2022-08-08 19:23:42 UDP link remote: [AF_INET]194.233.96.136:1194

2022-08-08 19:23:42,990 DEBG 'start-script' stdout output:
2022-08-08 19:23:42 TLS: Initial packet from [AF_INET]194.233.96.136:1194, sid=fc74a645 bdea5f07

2022-08-08 19:23:43,051 DEBG 'start-script' stdout output:
2022-08-08 19:23:43 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA

2022-08-08 19:23:43,051 DEBG 'start-script' stdout output:
2022-08-08 19:23:43 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA7

2022-08-08 19:23:43,051 DEBG 'start-script' stdout output:
2022-08-08 19:23:43 VERIFY KU OK
2022-08-08 19:23:43 Validating certificate extended key usage
2022-08-08 19:23:43 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication

2022-08-08 19:23:43,052 DEBG 'start-script' stdout output:
2022-08-08 19:23:43 VERIFY EKU OK
2022-08-08 19:23:43 VERIFY X509NAME OK: CN=de1087.nordvpn.com
2022-08-08 19:23:43 VERIFY OK: depth=0, CN=de1087.nordvpn.com

2022-08-08 19:23:43,182 DEBG 'start-script' stdout output:
2022-08-08 19:23:43 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA512
2022-08-08 19:23:43 [de1087.nordvpn.com] Peer Connection Initiated with [AF_INET]194.233.96.136:1194

2022-08-08 19:23:44,327 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 SENT CONTROL [de1087.nordvpn.com]: 'PUSH_REQUEST' (status=1)

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.1.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.1.3 255.255.255.0,peer-id 1,cipher AES-256-GCM'

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 OPTIONS IMPORT: timers and/or timeouts modified
2022-08-08 19:23:44 OPTIONS IMPORT: explicit notify parm(s) modified
2022-08-08 19:23:44 OPTIONS IMPORT: compression parms modified
2022-08-08 19:23:44 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
2022-08-08 19:23:44 Socket Buffers: R=[212992->1048576] S=[212992->1048576]
2022-08-08 19:23:44 OPTIONS IMPORT: --ifconfig/up options modified
2022-08-08 19:23:44 OPTIONS IMPORT: route options modified
2022-08-08 19:23:44 OPTIONS IMPORT: route-related options modified
2022-08-08 19:23:44 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2022-08-08 19:23:44 OPTIONS IMPORT: peer-id set
2022-08-08 19:23:44 OPTIONS IMPORT: adjusting link_mtu to 1657
2022-08-08 19:23:44 OPTIONS IMPORT: data channel crypto options modified
2022-08-08 19:23:44 Data Channel: using negotiated cipher 'AES-256-GCM'
2022-08-08 19:23:44 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-08-08 19:23:44 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 net_route_v4_best_gw query: dst 0.0.0.0
2022-08-08 19:23:44 net_route_v4_best_gw result: via 192.168.22.254 dev eth0
2022-08-08 19:23:44 ROUTE_GATEWAY 192.168.22.254/255.255.255.0 IFACE=eth0 HWADDR=02:42:c0:a8:16:74

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 TUN/TAP device tun0 opened

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 net_iface_mtu_set: mtu 1500 for tun0
2022-08-08 19:23:44 net_iface_up: set tun0 up
2022-08-08 19:23:44 net_addr_v4_add: 10.8.1.3/24 dev tun0

2022-08-08 19:23:44,356 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 /root/openvpnup.sh tun0 1500 1585 10.8.1.3 255.255.255.0 init

2022-08-08 19:23:44,359 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 net_route_v4_add: 194.233.96.136/32 via 192.168.22.254 dev [NULL] table 0 metric -1

2022-08-08 19:23:44,359 DEBG 'start-script' stdout output:
2022-08-08 19:23:44 net_route_v4_add: 0.0.0.0/1 via 10.8.1.1 dev [NULL] table 0 metric -1
2022-08-08 19:23:44 net_route_v4_add: 128.0.0.0/1 via 10.8.1.1 dev [NULL] table 0 metric -1
2022-08-08 19:23:44 Initialization Sequence Completed

2022-08-08 19:23:44,360 DEBG 'start-script' stdout output:
[debug] Waiting for valid local and gateway IP addresses from tunnel...

2022-08-08 19:23:45,374 DEBG 'start-script' stdout output:
[debug] Valid local IP address from tunnel acquired '10.8.1.3'

2022-08-08 19:23:45,374 DEBG 'start-script' stdout output:
[debug] Checking we can resolve name 'www.google.com' to address...

2022-08-08 19:23:45,415 DEBG 'watchdog-script' stdout output:
[debug] Checking we can resolve name 'www.google.com' to address...

2022-08-08 19:23:45,418 DEBG 'start-script' stdout output:
[debug] DNS operational, we can resolve name 'www.google.com' to address '142.250.217.228'

2022-08-08 19:23:45,429 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2022-08-08 19:23:50,747 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 5.180.61.108

2022-08-08 19:23:50,754 DEBG 'start-script' stdout output:
[info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment

2022-08-08 19:24:15,491 DEBG 'watchdog-script' stdout output:
[debug] DNS operational, we can resolve name 'www.google.com' to address '142.250.217.228'

2022-08-08 19:24:15,492 DEBG 'watchdog-script' stdout output:
[debug] Waiting for iptables chain policies to be in place...

2022-08-08 19:24:15,500 DEBG 'watchdog-script' stdout output:
[debug] iptables chain policies are in place

2022-08-08 19:24:15,501 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.8.1.3 different, marking for reconfigure

2022-08-08 19:24:15,518 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2022-08-08 19:24:15,522 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2022-08-08 19:24:15,529 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2022-08-08 19:24:16,648 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.8.2.4'
[info] Deluge key 'listen_interface' will have a new value '10.8.1.3'
[info] Writing changes to Deluge config file '/config/core.conf'...

2022-08-08 19:24:16,826 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'...

2022-08-08 19:24:16,991 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has a value of 'da74970a414a481297b67d66e7bcb4d3'
[info] Deluge key 'default_daemon' will have a new value 'da74970a414a481297b67d66e7bcb4d3'
[info] Writing changes to Deluge config file '/config/web.conf'...

2022-08-08 19:24:17,421 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2022-08-08 19:24:17,754 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2022-08-08 19:24:19,774 DEBG 'watchdog-script' stderr output:
<Deferred at 0x14c1cb7eef50 current result: None>

2022-08-08 19:24:19,830 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found

2022-08-08 19:24:19,830 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2022-08-08 19:24:19,830 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

2022-08-08 19:24:19,830 DEBG 'watchdog-script' stdout output:
[debug] VPN IP is 10.8.1.3
[debug] Deluge IP is 10.8.1.3

 

 

I also specify that I have the same behavior as with other containers using the openVPN service (like binhex-qbittorrentvpn or even binhex-rtorrentvpn)

 

Thank in advance to your help.

Edited by tony059
Link to comment

I have had an issure for the last few months now with binhex - DelugeVPN. I'm using PIA openVPN (i haven't found out how it setup wireguard yet).

 

But most open tracker won't download. If I use a windows pc or android device with PIA, it's not a problem.

 

I guess it has some security settings or changes.

Any one know what the problem could be?

 

And maybe know how to use wireguard instead of openVPN? I have seen somewhere I need to copy a file into then docker (which I have done for OpenVPN), but I can't find the one fore wireguard.

 

And just to let you guys know - I'm really not an expert in unraid/linux, so please remember that, if you reply ;-)

Link to comment

I've been unable to download stuff, even things like Ubuntu iso torrents.  It'll make some initial connections to a peer or two then nothing.

I updated my openvpn config file and crt from IPVanish, nothing.

I've used the same openvpn config file and crt in a qtorrentvpn container and it is able to download torrents.

No idea what is going on.

Link to comment

Hello. Unfortunately, I am another poor soul who is having issue accessing their "arr" (Prowlarr in this case) WebGUI after having routed it through DelugeVPN. My specific issue is when I try to open the WebGui, I get "about:blank#blocked" instead. I believe the docker is being routed properly as I can use prowlarr's console to "curl ipconfig.io" and I get the same, VPN-ed IP Address as DelugeVPN. 

 

This issue is consistent from two different PCs (on chrome), it happens on my iPhone on wifi (using Brave/chromium), and on my Pixel (using chrome on wifi and on cellular). 

 

I followed BMB's video and SIO's video as well as making sure to follow Q24 and Q25* from this FAQ (although, I didn't really understand what this portion meant: 

Quote

Please keep in mind that when defining connections from an application to another application in the same VPN container network that you will need to set the host to 'localhost' and NOT the LAN IP address, this is because the applications are now bound to the same network and thus should communicate over 'localhost' and NOT the unRAID host IP address.

 

In DelugeVPN, I have:
VPN enabled (I use NordVPN)
my username/password
enable_privoxy: yes
LAN_NETWORK: 192.168.1.0/24

VPN_INPUT_Ports: 9696 (this is what Prowlarr uses)
as well as an added port with container port and host port being 9696 (UDP)

(and adding in NordVPN's ovpn file into the app data openvpn folder).

 

In Prowlarr, I set: 

Network Type: None

extra parameters: --net=container:binhex-delugevpn

And I deleted the port 9696 setting. 

I'm not sure if my issue is a missed setting, something with Q25 that I didn't understand, or something else entirely. Any help would be very much appreciated. Thanks! 

Link to comment
On 8/9/2022 at 12:15 PM, sabonim38 said:

But most open tracker won't download.

What do you mean by this? Nothing will download? Post your docker run command and a screenshot of the download settings in deluge.

 

On 8/9/2022 at 12:15 PM, sabonim38 said:

And maybe know how to use wireguard instead of openVPN? I have seen somewhere I need to copy a file into then docker (which I have done for OpenVPN), but I can't find the one fore wireguard.

See Q21: https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

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.