Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - DelugeVPN

Featured Replies

12 hours ago, JustinChase said:

how would i change the endpoint? 

Download a different ovpn file and replace the one you have in your appdata. 

  • Replies 10.8k
  • Views 2.4m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Ryanoc3ros
    Ryanoc3ros

    Found the solution on reddit.   Due to the recent change in the authentication process, using your email and password for the manual connection method will no longer work. You will need to u

  • How to set up ProtonVPN in Deluge   I thought I'd share how I configured binhex-delugevpn to use ProtonVPN for those fellow paying ProtonVPN users. I don't know if this will work for the fre

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

Posted Images

I have manged to get deluged to work perfectly with my VPN provider (NordVPN using custom setting) and can connect through the web interface, download torrents with good speed etc but cant for the world get remote connection over port 58846 to work (I am trying to connect over my local LAN not through Internet/VPN).

I have added a line to "auth" file ("user:password:10") and using the web GUI preferences deamon enabled "remote connection" and verified that the port is indeed 58846 but still no luck...

Using the connection manager in the WebGUI I can connect to 127.1.1.0:58846 with my defined user name and password so that part seems to work but if I use the servers real IP it does not work from the GUI either suggesting to me this could be a networking issue with the container but I do not know how to debug it further...

3 hours ago, strike said:

That's your issue. You have 2 options when using custom br0. 

1. Don't specify a IP adress 

2. Forget about using the webui and use the thin client instead 

 

Or change your network type to bridge. 

Ok, switching to bridge did the trick. Has there been some change why custom br0 with the ip is not supported anymore? I've had that running for quite some time without issues.

20 minutes ago, lema said:

Ok, switching to bridge did the trick. Has there been some change why custom br0 with the ip is not supported anymore? I've had that running for quite some time without issues.

Not AFAIK, it has been that way since the start. But yes, you're correct it can work, sometimes.. I too had it working for a long time, then I changed network hardware and I couldn't get it to work anymore. Nothing else changed, just the hardware. So now I'm using the thin client instead. I suppose it can be firewall releated, but I couldn't find my firewall was blocking either. 

32 minutes ago, NAS-newbie said:

I have manged to get deluged to work perfectly with my VPN provider (NordVPN using custom setting) and can connect through the web interface, download torrents with good speed etc but cant for the world get remote connection over port 58846 to work (I am trying to connect over my local LAN not through Internet/VPN).

I have added a line to "auth" file ("user:password:10") and using the web GUI preferences deamon enabled "remote connection" and verified that the port is indeed 58846 but still no luck...

Using the connection manager in the WebGUI I can connect to 127.1.1.0:58846 with my defined user name and password so that part seems to work but if I use the servers real IP it does not work from the GUI either suggesting to me this could be a networking issue with the container but I do not know how to debug it further...

You're sure you don't have another line in the auth file that is not commented out? Can you post the content of the auth file? 

5 minutes ago, strike said:

You're sure you don't have another line in the auth file that is not commented out? Can you post the content of the auth file? 

As I mentioned the user name and password I have provided in the auth file do work when I connect using the connection manager in the web interface to 127.0.0.1:58846 so in my view that file cant be the problem - and yes I am sure there are no other lines in the auth except the default one and the one I added.

3 minutes ago, NAS-newbie said:

As I mentioned the user name and password I have provided in the auth file do work when I connect using the connection manager in the web interface to 127.0.0.1:58846 so in my view that file cant be the problem - and yes I am sure there are no other lines in the auth except the default one and the one I added.

But have you commented out the default one? And just to clearify, you're trying to connect with the thin client right? I'm asking because you only mention the webui in your post. The 58846 port is for connecting to the daemon with the thin client. If the auth file is correct and in the right place it should work. There was another user having almost the same issue not long ago, but he had puth the auth file in the wrong place. 

18 minutes ago, NAS-newbie said:

As I mentioned the user name and password I have provided in the auth file do work when I connect using the connection manager in the web interface to 127.0.0.1:58846 so in my view that file cant be the problem - and yes I am sure there are no other lines in the auth except the default one and the one I added.

I had NOT commented out the default one (for localclient) nor have I done so on my raspberry Pi where I currently run deluge and where I CAN connect to 58846 remotely without any problem.

Just to verify I tried commenting out the default line (and restart the container) but this did NOT make any difference except that I then cant log in using localclient either any longer in the connection manager of the web gui).

Should it not be the point that you CAN have multiple deluge users by having several lines in this file?!
 

4 minutes ago, NAS-newbie said:

Should it not be the point that you CAN have multiple deluge users by having several lines in this file?!

It should, but I have found out that's not the case,remember having this issue myself loong ago. Also you should stop the container before making any changes, then restart it. I have serveral times changed the core.conf file while the container was running then restarted, and found the changes was not sticking. 

4 hours ago, strike said:

It should, but I have found out that's not the case,remember having this issue myself loong ago. Also you should stop the container before making any changes, then restart it. I have serveral times changed the core.conf file while the container was running then restarted, and found the changes was not sticking. 

Found the problem - my deluge thin client was too old so it refused to connect to the newer version installed on my UnRAID server.

1 minute ago, NAS-newbie said:

Found the problem - my deluge thin client was too old so it refused to connect to the newer version installed on my UnRAID server.

That will do it, I guess your old version was still v1 something. Glad you got it fixed.

  • Author
On 2/3/2023 at 12:09 PM, binhex said:

@JustinChase well i had a little time to polish this up a bit, so i have now included the code to flip flop between turning the deluge web ui password prompt off and on again, if you wish to test this then do the following:-

  1. change the repository from 'binhex/arch-delugevpn' to 'binhex/arch-delugevpn:test-disable-prompt' (will be pushed to tag latest once confirmed working).
  2. click on 'Add another Path, Port, Variable, Label or Device' at the bottom and select 'config type' 'variable'
  3. enter 'key' of 'DELUGE_ENABLE_WEBUI_PASSWORD' and 'value' of 'no' to turn off prompt and 'yes' to turn back on.
  4. select add and then hit apply
     

note:- the default is of course 'yes', please ensure you have alternative security in place if you do set this to no.

This has now been pushed to tag latest, if you want to use the new feature then please do the procedure above ignoring step 1. (now tag latest).

4 minutes ago, binhex said:

This has now been pushed to tag latest, if you want to use the new feature then please do the procedure above ignoring step 1. (now tag latest).

Can you add this to your faq? I might need it sometime. :)

I updated to the latest release and am not receiving this error on docker startup.

 

2023-02-04 21:02:53,906 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2023-02-04 21:02:53,910 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in /config/openvpn/16.ovpn:34: ncp-disable (2.6.0)

 

would love some assistance. if there is any other data needed please let me know

5 hours ago, jchase222 said:

I updated to the latest release and am not receiving this error on docker startup.

 

2023-02-04 21:02:53,906 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2023-02-04 21:02:53,910 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in /config/openvpn/16.ovpn:34: ncp-disable (2.6.0)

 

would love some assistance. if there is any other data needed please let me know

It looks like the same issue I was having. For whatever reason (possibly because keysize was depreciated), the new version really does not like the keysize variable in ovpn files anymore, so you have to go into the ovpn file for your tunnel (it'll be in your appdata/binhex-delugevpn/openvpn folder) with your text editor of choice and either remove that line (make sure not to leave a blank line there), or add a # in front of it to turn it into a comment, so it gets ignored. If that fixes it, please let us know.

Edited by Kaonashi

9 hours ago, jchase222 said:

I updated to the latest release and am not receiving this error on docker startup.

 

2023-02-04 21:02:53,906 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2023-02-04 21:02:53,910 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in /config/openvpn/16.ovpn:34: ncp-disable (2.6.0)

 

would love some assistance. if there is any other data needed please let me know

 

I had this exact issue.

 

I had to remove "ncp disable" from my ovpn file and now it works fine.

  

4 hours ago, Kaonashi said:

It looks like the same issue I was having. For whatever reason (possibly because keysize was depreciated), the new version really does not like the keysize variable in ovpn files anymore, so you have to go into the ovpn file for your tunnel (it'll be in your appdata/binhex-delugevpn/openvpn folder) with your text editor of choice and either remove that line (make sure not to leave a blank line there), or add a # in front of it to turn it into a comment, so it gets ignored. If that fixes it, please let us know.

 

My ovpn file didn't have this option in it.

Edited by carnivorebrah

1 hour ago, carnivorebrah said:

 

I had this exact issue.

 

I had to remove "ncp disable" from my ovpn file and now it works fine.

  

 

My ovpn file didn't have this option in it.

this worked like a charm.

 

Thanks

8 hours ago, Kaonashi said:

It looks like the same issue I was having. For whatever reason (possibly because keysize was depreciated), the new version really does not like the keysize variable in ovpn files anymore, so you have to go into the ovpn file for your tunnel (it'll be in your appdata/binhex-delugevpn/openvpn folder) with your text editor of choice and either remove that line (make sure not to leave a blank line there), or add a # in front of it to turn it into a comment, so it gets ignored. If that fixes it, please let us know.

Hey, I found my way here as I'm having the exact same issue as jchase222 [edit: my issue is with the keysize line, not ncp-disable which I don't have, but the error is otherwise the same]. Removing the keysize line or adding a # gives me a different error:

 

[info] Starting OpenVPN (non daemonised)...
2023-02-05 15:33:27,699 DEBG 'start-script' stdout output:
2023-02-05 15:33:27 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.
2023-02-05 15:33:27 OpenVPN 2.6.0 [git:makepkg/b999466418dddb89+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jan 25 2023
2023-02-05 15:33:27 library versions: OpenSSL 3.0.7 1 Nov 2022, LZO 2.10
2023-02-05 15:33:27,699 DEBG 'start-script' stdout output:
2023-02-05 15:33:27 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'.  If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
2023-02-05 15:33:27 Exiting due to fatal error
2023-02-05 15:33:27,701 DEBG 'start-script' stdout output:

Edited by krazykraz01

12 hours ago, carnivorebrah said:

 

I had this exact issue.

 

I had to remove "ncp disable" from my ovpn file and now it works fine.

 

 

This worked for me.  thank you.

  • Author
21 hours ago, krazykraz01 said:

neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'.

you are using a password protected keyfile, you need to remove the pass phrase from the key (cert)

I updated to the latest to version today and I kept getting the same log error over and over:

 

2023-02-07 13:13:43,642 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in /config/openvpn/my_expressvpn_usa_-_washington_dc_udp.ovpn:20: keysize (2.6.0)
Use --help for more information.

 

I was not able to access the Web UI.  I first tried a couple different end points by changing the ovpn file.  That did not work.  I then rolled back the docker 2.1.1-3-01 and it worked fine. 

 

I didn't want too to settle for that after some reading on here I just put a # in front of "keysize 256" to comment it out.  And it works fine not sure if that will be something we will have to adjust in future updates.  If someone is smarter on me and can explain why it is doing this on this version I am always looking to understand how things work.  

Keysize.JPG.57bca5c02cb56398c315febf0621e0ab.JPG

 

I just wanted to have a simple post in case someone else has this issue as well with the latest update.  Credit to krazykraz01, jchase222, carnivorebrah, Kaonashi for posting and pointing me in the right direction.  My log file seems to have a different error then theirs but the fix is the same.  

Edited by DeepSee

On 2/5/2023 at 3:15 PM, jchase222 said:

I updated to the latest release and am not receiving this error on docker startup.

 

2023-02-04 21:02:53,906 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2023-02-04 21:02:53,910 DEBG 'start-script' stdout output:
Options error: Unrecognized option or missing or extra parameter(s) in /config/openvpn/16.ovpn:34: ncp-disable (2.6.0)

 

would love some assistance. if there is any other data needed please let me know

 

Same issue here since the latest update.

 

Can someone guess which option might be unrecognised in my .ovpn file?  Or is there a list of depreciated options in this latest version somewhere so I can figure it out for myself?  Here's the config in my .ovpn file:

dev tun
fast-io
persist-key
nobind
remote (Hidden)

remote-random
pull
comp-lzo no
tls-client
verify-x509-name Server name-prefix
ns-cert-type server
key-direction 1
route-delay 2
tun-mtu 1500
fragment 1300
mssfix 1200
verb 3
cipher AES-256-CBC
keysize 256
auth SHA512
sndbuf 524288
rcvbuf 524288
auth-user-pass credentials.conf

Any help would be most appreciated.

  • Author
 
Same issue here since the latest update.
 
Can someone guess which option might be unrecognised in my .ovpn file?  Or is there a list of depreciated options in this latest version somewhere so I can figure it out for myself?  Here's the config in my .ovpn file:
dev tunfast-iopersist-keynobindremote (Hidden)remote-randompullcomp-lzo notls-clientverify-x509-name Server name-prefixns-cert-type serverkey-direction 1route-delay 2tun-mtu 1500fragment 1300mssfix 1200verb 3cipher AES-256-CBCkeysize 256auth SHA512sndbuf 524288rcvbuf 524288auth-user-pass credentials.conf

Any help would be most appreciated.

Look at the /config/supervisord.log it will tell you which option is the problem

Sent from my 22021211RG using Tapatalk

I only saw the same error in the supervisord.log file without the detail I needed.  However, I ended up finding it by a process of elimination, commenting out one line at a time.  I use ExpressVPN and for me it was the entry: keysize 256

 

Commented that out with # and I'm up and running again.  Seems like an unlikely culprit, but there you go.

Deluge wont start log below.

2023-02-09 09:41:10.650348 [info] Host is running unRAID
2023-02-09 09:41:10.667978 [info] System information Linux ebe1b895cfe1 5.19.17-Unraid #2 SMP PREEMPT_DYNAMIC Wed Nov 2 11:54:15 PDT 2022 x86_64 GNU/Linux
2023-02-09 09:41:10.687433 [info] OS_ARCH defined as 'x86-64'
2023-02-09 09:41:10.706609 [info] PUID defined as '99'
2023-02-09 09:41:10.727778 [info] PGID defined as '100'
2023-02-09 09:41:10.750744 [info] UMASK defined as '000'
2023-02-09 09:41:10.769862 [info] Permissions already set for '/config'
2023-02-09 09:41:10.789738 [info] Deleting files in /tmp (non recursive)...
2023-02-09 09:41:10.813571 [info] VPN_ENABLED defined as 'yes'
2023-02-09 09:41:10.833582 [info] VPN_CLIENT defined as 'openvpn'
2023-02-09 09:41:10.852820 [info] VPN_PROV defined as 'pia'

Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 487: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
2023-02-09 09:41:10.871900 [warn] PIA VPN server info JSON cannot be downloaded from URL 'https://serverlist.piaservers.net/vpninfo/servers/v4' exit code from curl is '1'
2023-02-09 09:41:10.893308 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/ca_montreal.ovpn
2023-02-09 09:41:10.929344 [info] VPN remote server(s) defined as 'ca-montreal.privacy.network,'
2023-02-09 09:41:10.946485 [info] VPN remote port(s) defined as '1198,'
2023-02-09 09:41:10.963677 [info] VPN remote protcol(s) defined as 'udp,'
2023-02-09 09:41:10.983398 [info] VPN_DEVICE_TYPE defined as 'tun0'
2023-02-09 09:41:11.002738 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2023-02-09 09:41:11.021933 [info] LAN_NETWORK defined as '192.168.1.0/24'
2023-02-09 09:41:11.041212 [info] NAME_SERVERS defined as '84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
2023-02-09 09:41:11.060352 [info] VPN_USER defined as '***'
2023-02-09 09:41:11.079583 [info] VPN_PASS defined as '***'
2023-02-09 09:41:11.098860 [info] STRICT_PORT_FORWARD defined as 'yes'
2023-02-09 09:41:11.118167 [info] ENABLE_PRIVOXY defined as 'yes'
2023-02-09 09:41:11.139507 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2023-02-09 09:41:11.158851 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2023-02-09 09:41:11.178473 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2023-02-09 09:41:11.198140 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2023-02-09 09:41:11.217553 [info] DELUGE_ENABLE_WEBUI_PASSWORD not defined,(via -e DELUGE_ENABLE_WEBUI_PASSWORD), defaulting to 'yes'
2023-02-09 09:41:11.237130 [info] Starting Supervisor...
 

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.