[Support] binhex - DelugeVPN


Recommended Posts

7 minutes ago, 1q8448q1 said:

thx. I tripple checked them. They are 100% correct. (I'm talking about the vpn ones)

Make sure to only use characters A-Z,a-z,0-9 in your username/pw. Special characters can cause authentication issues. Also make sure you're within your providers device limit. Usually they allow 1-x devices and anything over that will fail to authenticate.  

Link to comment
9 hours ago, Jorgen said:


See Q4 here: https://github.com/binhex/documentation/blob/master/docker/faq/delugevpn.md


Sent from my iPhone using Tapatalk

Thanks for that. I'm still left with not being able to add a plugin. According to Q3 I should put it in the "/config/plugins/" folder. I can't find this however I would expect it refers to "/mnt/user/appdata/binhex-delugevpn". If this is not right, where else can it be? I have gone with this folder as when I select to upload a plugin through the UI, once I select the egg file it goes into the pop up the file name displays as "[object FileList]". If I check the folder before and after uploading a file with that name appears in that folder and the plugin still does not appear even after a restart of the docker.

 

I've also manually added the file to that folder leaving it with both the correct file name and the object name above and again, it never displays within Deluge.

Link to comment
11 minutes ago, muttly.irl said:

According to Q3 I should put it in the "/config/plugins/" folder. I can't find this however I would expect it refers to "/mnt/user/appdata/binhex-delugevpn". If this is not right, where else can it be?

If you edit your Deluge Docker and search for where /config is defined (you may need to click on "show more settings") - that is where it is referring to.  Sounds like it's mapping to where you're talking about, but wanted to clarify what it means.

Link to comment

Never mind. I found the problem. I was using the plugin from the guide, it was for the wrong version of python. Correct version installed and its working fine.

47 minutes ago, muttly.irl said:

Thanks for that. I'm still left with not being able to add a plugin. According to Q3 I should put it in the "/config/plugins/" folder. I can't find this however I would expect it refers to "/mnt/user/appdata/binhex-delugevpn". If this is not right, where else can it be? I have gone with this folder as when I select to upload a plugin through the UI, once I select the egg file it goes into the pop up the file name displays as "[object FileList]". If I check the folder before and after uploading a file with that name appears in that folder and the plugin still does not appear even after a restart of the docker.

 

I've also manually added the file to that folder leaving it with both the correct file name and the object name above and again, it never displays within Deluge.

 

Edited by muttly.irl
I can't spell
Link to comment
4 hours ago, SeattleBandit said:

did PIA's france..... server go down?  its not completing connections after my latest reboot - no changes on my end

 

 

 

Mine's stopped connecting to the swiss pia server, also without any known changes. The PIA desktop client connects to both, though. ¯\_(ツ)_/¯

Link to comment

Hope someone can help as I am pulling my hair out.

I got home this afternoon and discovered that my Unraid was turned off, "power outage" so I power up and discovered that my Delugevpn was not working, I have checked all the settings and I can't find out what i wrong.

 

during my testing it looks like everything works apart from my VPN, that I am able to use the Privoxy with no issues, I am able to download, but when I enable the the VPN I get the following error message   This site can't be reached, but if I turn off the VPN then I am able to access it.

I also discovered that when the VPN is turn on and I go into the console, and type in curl ifconfig.me/ip  I get the an IP address from my VPN.

 

can someone please help me in resolving this issue,

 

ps.  I am using the France server 

 

update. I just looked at my logs and I am getting this:

 

info] Starting Deluge Web UI...

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

2020-07-31 07:27:49.851286 [info] System information Linux 988c501038b9 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2020-07-31 07:27:49.877842 [info] OS_ARCH defined as 'x86-64'
2020-07-31 07:27:49.903810 [info] PUID defined as '99'
2020-07-31 07:27:49.934316 [info] PGID defined as '100'
2020-07-31 07:27:50.363320 [info] UMASK defined as '000'
2020-07-31 07:27:50.390297 [info] Permissions already set for volume mappings
2020-07-31 07:27:50.421909 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-07-31 07:27:50.449086 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-07-31 07:27:50.476288 [info] VPN_ENABLED defined as 'yes'
2020-07-31 07:27:50.509369 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/France.ovpn
2020-07-31 07:27:50.569269 [info] VPN remote line defined as 'remote france.privateinternetaccess.com 1198'
2020-07-31 07:27:50.596495 [info] VPN_REMOTE defined as 'france.privateinternetaccess.com'
2020-07-31 07:27:50.623768 [info] VPN_PORT defined as '1198'
2020-07-31 07:27:50.658012 [info] VPN_PROTOCOL defined as 'udp'
2020-07-31 07:27:50.685234 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-07-31 07:27:50.713661 [info] VPN_PROV defined as 'pia'
2020-07-31 07:27:50.738834 [info] LAN_NETWORK defined as '192.168.0.0/24'
2020-07-31 07:27:50.765984 [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'
2020-07-31 07:27:50.795770 [info] VPN_USER defined as 'P2420957'
2020-07-31 07:27:50.829415 [info] VPN_PASS defined as 'Wa7chd1ce3st0lenDann3Wat3h'
2020-07-31 07:27:50.857389 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-07-31 07:27:50.885146 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-07-31 07:27:50.910273 [info] ENABLE_PRIVOXY defined as 'yes'
2020-07-31 07:27:50.939801 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-07-31 07:27:50.970733 [info] Deleting files in /tmp (non recursive)...
2020-07-31 07:27:50.995213 [info] Starting Supervisor...
2020-07-31 07:27:51,132 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing
2020-07-31 07:27:51,132 INFO Set uid to user 0 succeeded
2020-07-31 07:27:51,134 INFO supervisord started with pid 6
2020-07-31 07:27:52,137 INFO spawned: 'start-script' with pid 172
2020-07-31 07:27:52,138 INFO spawned: 'watchdog-script' with pid 173
2020-07-31 07:27:52,139 INFO reaped unknown pid 7 (exit status 0)
2020-07-31 07:27:52,144 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-07-31 07:27:52,144 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-31 07:27:52,144 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-07-31 07:27:52,200 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-07-31 07:27:52,205 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2020-07-31 07:27:52,211 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf

2020-07-31 07:27:52,217 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2020-07-31 07:27:52,223 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf

2020-07-31 07:27:52,229 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2020-07-31 07:27:52,234 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2020-07-31 07:27:52,239 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf

2020-07-31 07:27:52,244 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf

2020-07-31 07:27:52,392 DEBG 'start-script' stdout output:
[info] Attempting to load iptable_mangle module...

2020-07-31 07:27:52,392 DEBG 'start-script' stderr output:
modprobe: FATAL: Module iptable_mangle not found in directory /lib/modules/4.19.107-Unraid

2020-07-31 07:27:52,393 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module using modprobe, trying insmod...

2020-07-31 07:27:52,394 DEBG 'start-script' stderr output:
insmod: ERROR: could not load module /lib/modules/iptable_mangle.ko: No such file or directory


2020-07-31 07:27:52,394 DEBG 'start-script' stdout output:
[warn] Unable to load iptable_mangle module, you will not be able to connect to the applications Web UI or Privoxy outside of your LAN

2020-07-31 07:27:52,394 DEBG 'start-script' stdout output:
[info] unRAID/Ubuntu users: Please attempt to load the module by executing the following on your host: '/sbin/modprobe iptable_mangle'
[info] Synology users: Please attempt to load the module by executing the following on your host: 'insmod /lib/modules/iptable_mangle.ko'

2020-07-31 07:27:52,415 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2020-07-31 07:27:52,419 DEBG 'start-script' stdout output:
[info] Adding 192.168.0.0/24 as route via docker eth0

2020-07-31 07:27:52,420 DEBG 'start-script' stdout output:
[info] ip route defined as follows...

2020-07-31 07:27:52,420 DEBG 'start-script' stdout output:
--------------------

2020-07-31 07:27:52,422 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0

2020-07-31 07:27:52,422 DEBG 'start-script' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.11
192.168.0.0/24 via 172.17.0.1 dev eth0

2020-07-31 07:27:52,422 DEBG 'start-script' stdout output:
--------------------

2020-07-31 07:27:52,479 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2020-07-31 07:27:52,480 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.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 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.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

2020-07-31 07:27:52,482 DEBG 'start-script' stdout output:
--------------------

2020-07-31 07:27:52,483 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2020-07-31 07:27:52,489 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 WARNING: file 'credentials.conf' is group or others accessible

Fri Jul 31 07:27:52 2020 OpenVPN 2.4.9 [git:makepkg/9b0dafca6c50b8bb+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Fri Jul 31 07:27:52 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10

2020-07-31 07:27:52,489 DEBG 'start-script' stdout output:
[info] OpenVPN started

2020-07-31 07:27:52,490 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2020-07-31 07:27:52,492 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 CRL: loaded 1 CRLs from file [[INLINE]]

2020-07-31 07:27:52,492 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]156.146.63.65:1198

2020-07-31 07:27:52,493 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 UDP link local: (not bound)
Fri Jul 31 07:27:52 2020 UDP link remote: [AF_INET]156.146.63.65:1198

2020-07-31 07:27:52,618 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:52 2020 [81d6289914f7e72adfa1f9a1fe98bb97] Peer Connection Initiated with [AF_INET]156.146.63.65:1198

2020-07-31 07:27:59,014 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:59 2020 TUN/TAP device tun0 opened
Fri Jul 31 07:27:59 2020 /usr/bin/ip link set dev tun0 up mtu 1500

2020-07-31 07:27:59,015 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:59 2020 /usr/bin/ip addr add dev tun0 local 10.6.12.6 peer 10.6.12.5

2020-07-31 07:27:59,017 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:59 2020 /root/openvpnup.sh tun0 1500 1558 10.6.12.6 10.6.12.5 init

2020-07-31 07:27:59,027 DEBG 'start-script' stdout output:
Fri Jul 31 07:27:59 2020 Initialization Sequence Completed

2020-07-31 07:27:59,144 DEBG 'start-script' stdout output:
[info] Port forwarding is enabled
[info] Checking endpoint 'france.privateinternetaccess.com' is port forward enabled...

2020-07-31 07:27:59,958 DEBG 'start-script' stdout output:
[info] PIA endpoint 'france.privateinternetaccess.com' is in the list of endpoints that support port forwarding

2020-07-31 07:27:59,958 DEBG 'start-script' stdout output:
[info] List of PIA endpoints that support port forwarding:-

2020-07-31 07:27:59,958 DEBG 'start-script' stdout output:
[info] ca-toronto.privateinternetaccess.com
[info] ca-montreal.privateinternetaccess.com
[info] ca-vancouver.privateinternetaccess.com
[info] de-berlin.privateinternetaccess.com
[info] de-frankfurt.privateinternetaccess.com
[info] sweden.privateinternetaccess.com
[info] swiss.privateinternetaccess.com
[info] france.privateinternetaccess.com
[info] czech.privateinternetaccess.com
[info] spain.privateinternetaccess.com
[info] ro.privateinternetaccess.com
[info] israel.privateinternetaccess.com

2020-07-31 07:27:59,959 DEBG 'start-script' stdout output:
[info] Attempting to get dynamically assigned port...

2020-07-31 07:28:00,101 DEBG 'start-script' stdout output:
[warn] Exit code '56' from curl != 0 or no response body received
[info] 12 retries left
[info] Retrying in 10 secs...

2020-07-31 07:28:10,159 DEBG 'start-script' stdout output:
[warn] Exit code '56' from curl != 0 or no response body received
[info] 11 retries left
[info] Retrying in 10 secs...

2020-07-31 07:28:20,219 DEBG 'start-script' stdout output:
[warn] Exit code '56' from curl != 0 or no response body received
[info] 10 retries left
[info] Retrying in 10 secs...

 

...and then it just repeats

 

2020-07-31 07:28:30,278 DEBG 'start-script' stdout output:
[warn] Exit code '56' from curl != 0 or no response body received
[info] 9 retries left
[info] Retrying in 10 secs...

 

Edited by chris_netsmart
Link to comment

I'm also getting the "[warn] Exit code '56' from curl != 0 or no response body received" error.

 

Woke up this morning to some errors in Sonarr about indexers (i run Jackett through this container) & clients being unavailable due to failures. Been tearing my hair out as I can't figure it out, so in a sense I'm glad it's not just me 🤣

Link to comment
I'm also getting the "[warn] Exit code '56' from curl != 0 or no response body received" error.
 
Woke up this morning to some errors in Sonarr about indexers (i run Jackett through this container) & clients being unavailable due to failures. Been tearing my hair out as I can't figure it out, so in a sense I'm glad it's not just me 
It's a pia issue, I had swiss endpoint stop working last night, switch endpoint, I'm now on CA montreal

Sent from my CLT-L09 using Tapatalk

Link to comment
1 hour ago, binhex said:

It's a pia issue, I had swiss endpoint stop working last night, switch endpoint, I'm now on CA montreal

Any chance this will motivate you to provide automatic endpoint failover / rotation in some form? Not a formal request, just wondering.

 

I can envision a rather complex routine involving multiple ovpn, periodic rate testing of each, and connection to the best one.

Link to comment

I just got reply from customer service at PIA, and thought their answer might be of interest to you @binhex 
 

Quote

 

Hello Mads,
Thank you for contacting us here at Private Internet Access. 

I am sorry you are experiencing issues with port forwarding. This may be in part because of our ongoing server migration. Please try changing to our Next Generation network in application settings under the Help tab on desktop and at the bottom of the settings page on mobile. 
 

We are currently in the process of migrating our servers over to our Next Generation network which will provide improved speed an connectivity for users worldwide. Some of these changes and improvements involve migrations and configurations changes on specific servers. We will make every effort to provide information on outages or other issues that may arise and at the moment, you can find any and all current information regarding outages or issues in our support portal, here:


https://www.privateinternetaccess.com/helpdesk/news/posts/july-15-2020-important-server-changes-and-related-issues

The process of improving our overall network will be completed in waves and could affect different groups of servers at different times.  In the meantime, if a connection error occurs, please connect to a different location and try the desired server at a later time, you may additional wish to move over to the next generation network which is available through the setting of all versions of our application to see if it resolves the issue you are experiencing.
 

Please let us know if these troubleshooting steps have been helpful or if we need to continue our efforts.

 

Regards

Travis
Customer Support Agent

A+

 

 

I dont know what the "Next Generation network" does in the desktop app, but it might involve some changes to delugevpn in some way? I dunno, here you have it atleast :)

  • Like 1
Link to comment

My issue is the same as PyroKid99 on p229 of this thread

 

I'm having trouble connecting this delugeVPN docker image to couchpotato and/or radarr


I am using a synology nas and privateinternetaccess vpn.

Delugevpn works fine. LAN_NETWORK is set appropriately (192.168.1.0/24).
auth file was modified by me to only contain: admin:deluge:10

connection manager in deluge shows one account saying connected [email protected]:58846
allow remote connections and daemon port is set in deluge settings

ports are properly mapped in docker config

I have shut down and re-started all docker images and the nas multiple times.

 

I am able to connect to delugevpn with sickgear and lidarr. Torrents are transferred over and download without any issue. The connection always fails for couchpotato and radarr. I have tried both docker images and a local installation.

I have read the FAQ for "connect couchpotato to delugevpn" a dozen times and I am positive I followed the steps correctly.

After reading through this thread, it looks like couchpotato does not work with the latest deluge. That Is fine, I can live with radarr.
I can't get radarr working with delugevpn though. Keep getting connect failed after timeout.

has anyone gotten delugevpn working with radarr?
 

Edited by starfox5194
Link to comment
On 7/20/2020 at 12:07 PM, MrDimsum99 said:

As fellow ProtonVPN user, thank you for these instructions. It put me in the right direction to get it working.

 

However, I found out that I could simply use the config file generated from my ProtonVPN account. After I downloaded the config, I simply renamed it to "openvpn.ovpn", then placed this file in the "./appdata/binhex-delugevpn/openvpn" folder. Then started the container with the right credentials and left most of my parameters default.

It works!

As another ProtonVPN user I was excited to find this! I followed your quoted version of @shaunsund post and integrated it with Spaceinvader One's video instructions, but I cannot get to the GUI.

 

After typing up a long description of what I'd been through trying to get this to work, I decided to try one more thing. Just for the heck of it, I edited the docker settings to disable the VPN. I started the docker and was able to get to the GUI. I closed the tab, edited the docker settings to enable VPN and restarted the docker. Lo and behold, I can now get to the Deluge GUI!

 

I have no idea why or how that worked.

 

I will leave two little nuggets, though, for fellow ProtonVPN users:

 

1) Don't forget to grab your OpenVPN / IKEv2 username/pwd from your Proton account and set them up in the config. You cannot use your ProtonVPN/ProtonMail userID/pwd to access the VPN via 3rd party apps!

2) Make sure you download a specific country/server ovpn file, or you may not get connected to a server that supports P2P.

 

Edited by FreeMan
  • Like 1
  • Thanks 1
Link to comment
@binhex
Would it cause any issues if I stored the openvpn.zip file that I downloaded from PIA in the openvpn folder in appdata? Just looking for someplace to store all the ovpn files where I can find them easily when I need to switch end points.
Nope that's fine.

Sent from my CLT-L09 using Tapatalk

Link to comment

Hi, could this container be used to bounce against multiple VPNs via privoxy?

I've been using it for years on unraid and it works awesome, one of the best containers out there, I couldn't live without it now. 

However on my last holiday I was uploading files via my ubiquity vpn to my unraid, and the it guy got jealous and blocked connection between my pc and my home/vpn IP. Now, I was about to boot VM inside my pc, so that my PC would connect to PIA vpn, and my VM would then connect to my home vpn, but then I found that I could still upload via my phone so I used that instead. 

Could this container be used for this scenario, where my pc would connect to some PIA server, and the OpenVpn would then connect to my home, and privoxy would be used for some browser/client so that I could upload files to my vpn?

 

Or am I missing some obvious way of doing such VPN through another VPN solution on windows?

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.