Jump to content
binhex

[Support] binhex - DelugeVPN

6098 posts in this topic Last Reply

Recommended Posts

Hi guys.  First of all, thanks for this amazing container - it makes it soo easy to use VPN with proper port forwarding - now I can finally seed properly 🙂

 

I can connect find to deluge with external services like Radarr, but I can't for the life of me figure out how to connect from the container to services running on the host, e.g. couchpotato. While I know I could/should just run Couchpotato in a container as well, I still would like to figure out how to make delugeVPN  be able to connect to my external services. Other containers seem to be able to connect to couchpotato on the host just fine?

 

I'm a bit new to Docker so apologizing if the question is dumb... I'm running it with these settings:

DEBUG = false
UMASK = 002
VPN_ENABLED = yes
VPN_USER = hidden
STRICT_PORT_FORWARD = yes
LAN_NETWORK = 10.188.166.0/24
NAME_SERVERS = 1.1.1.1,8.8.8.8
PUID = 1015
VPN_PASS = hidden
VPN_PROV = pia
ENABLE_PRIVOXY = no
PGID = 1005
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOME = /home/nobody
TERM = xterm
LANG = en_GB.UTF-8

 

Share this post


Link to post
6 hours ago, kocane said:

I can connect find to deluge with external services like Radarr, but I can't for the life of me figure out how to connect from the container to services running on the host, e.g. couchpotato.

 

If the problem is specifically connecting deluge with couchpotato (both running on the same host), check the FAQ under the heading "How do i connect CouchPotato to DelugeVPN". The process is a lot more complicated than for things like Radarr/Sonarr because Couchpotato connects directly to the deluge daemon (instead of the webui) so you need to use the deluge credentials from the /config/auth file.

 

(disclaimer: i haven't used Couchpotato in a ages, so it's possible it interfaces through the Deluge WebUI now)

Share this post


Link to post
2 minutes ago, death.hilarious said:

If the problem is specifically connecting deluge with couchpotato (both running on the same host), check the FAQ under the heading "How do i connect CouchPotato to DelugeVPN". The process is a lot more complicated than for things like Radarr/Sonarr because Couchpotato connects directly to the deluge daemon (instead of the webui) so you need to use the deluge credentials from the /config/auth file.

 

(disclaimer: i haven't used Couchpotato in a ages, so it's possible it interfaces through the Deluge WebUI now)

Thanks for the reply.

 

It's not so much a matter of connecting couchpotato to deluge (I only use couchpotato to process movies which I manually add to Deluge, as Radarr demands that the movie is in the "wanted" list, afaik) but more a matter of the container being able to see any service running on the host. curl -L hostip:5050 times out on delugeVPN container whereas on any other container, where Curl is installed, I can easily see the couchpotato page.

 

So is it a networking question?

Share this post


Link to post
21 minutes ago, kocane said:

It's not so much a matter of connecting couchpotato to deluge (I only use couchpotato to process movies which I manually add to Deluge, as Radarr demands that the movie is in the "wanted" list, afaik) but more a matter of the container being able to see any service running on the host. curl -L hostip:5050 times out on delugeVPN container whereas on any other container, where Curl is installed, I can easily see the couchpotato page.

 

See the FAQ under "Q1. I am having issues using a post processing script which connects to CouchPotato/Sick Beard, how do i fix this?". You need to define "ADDITIONAL_PORTS" environment variables to allow outgoing connections from the VPN docker to another container/application.

 

Share this post


Link to post
16 minutes ago, death.hilarious said:

 

See the FAQ under "Q1. I am having issues using a post processing script which connects to CouchPotato/Sick Beard, how do i fix this?". You need to define "ADDITIONAL_PORTS" environment variables to allow outgoing connections from the VPN docker to another container/application.

 

Seems like exactly what I need but are you sure it's not the sabnzbd container only? I tried adding it like into the delugeVPN but it didn't seem to have an affect.

Share this post


Link to post
On 12/14/2018 at 7:22 AM, death.hilarious said:

Glad you got it sorted. I've had good success using freshtomato (forum link) as firmware for my wireless AP.

Been thinking of switching to Tomato and after this I may do so.  The newest Kong dd-wrt for my R7000 is 7 months old and caused these issues...  seems Kong has lost interest.

 

best,

craigr

Edited by craigr

Share this post


Link to post
On 12/15/2018 at 4:03 PM, kocane said:

I can connect find to deluge with external services like Radarr, but I can't for the life of me figure out how to connect from the container to services running on the host, e.g. couchpotato. While I know I could/should just run Couchpotato in a container as well, I still would like to figure out how to make delugeVPN  be able to connect to my external services. Other containers seem to be able to connect to couchpotato on the host just fine?

you can do this providing you have defined LAN_NETWORK correctly, if you have done then you should be able to configure couchpotato to talk to deluge, see below screenshot on how to do this:-

 

couchpotato-deluge.png

 

to be clear its not possible to connect FROM deluge to couchpotato (firewall rules in place to restrict outbound comms), but the other way around is permitted and works, and as deluge does not have any built in way to communicate with couchpotato, this shouldn't be too much of concern.

Share this post


Link to post
6 minutes ago, binhex said:

you can do this providing you have defined LAN_NETWORK correctly, if you have done then you should be able to configure couchpotato to talk to deluge, see below screenshot on how to do this:-

 

couchpotato-deluge.png

 

to be clear its not possible to connect FROM deluge to couchpotato (firewall rules in place to restrict outbound comms), but the other way around is permitted and works, and as deluge does not have any built in way to communicate with couchpotato, this shouldn't be too much of concern.

The trouble is that I use a script in the end of Deluge downloads (nzbToMedia) and it connects to couchpotato and radarr on the host machine.  The only solution is to make everything be containerized?

 

Share this post


Link to post

My VPN provider only allows a limited number of connected devices, so I'm trying to get multple docker containers to connect thru the binhex-delugevpn container. In particular, I'm trying to get multiple Deluge docker containers to route through DelugeVPN, however, I get the following error :

"conflicting options: port publishing and the container type network mode."

All I have done is add an extra argument in the binhex-deluge advanced view: --network="container:binhex-delugevpn"

I have set-up different ports for each instance of binhex-deluge and binhex-delugevpn but can't get it to work.

Any ideas? All help appreciated.

Share this post


Link to post
5 minutes ago, teh0wner said:

My VPN provider only allows a limited number of connected devices, so I'm trying to get multple docker containers to connect thru the binhex-delugevpn container. In particular, I'm trying to get multiple Deluge docker containers to route through DelugeVPN, however, I get the following error :

"conflicting options: port publishing and the container type network mode."

All I have done is add an extra argument in the binhex-deluge advanced view: --network="container:binhex-delugevpn"

I have set-up different ports for each instance of binhex-deluge and binhex-delugevpn but can't get it to work.

Any ideas? All help appreciated.

completely untested and i would pretty much guarantee wont work due to strict iptable rules.

Share this post


Link to post

--Edit--

 

Well I figured it out. I was using a server that didn't support port forwarding.

 

--Edit--

 

 

Hi there,

 

Super new to unRaid and still figuring things out but loving it.

 

I'm trying to setup Deluge with my VPN (PIA). I have followed spaceinvaders guide but no matter what I always end up with this message when trying to start the docker. "Firefox can’t establish a connection to the server at 192.168.1.1xx:xxxx" (only put in the x's as I don't know if that would make me vulnerable or something) 

 

I copy in the two files that he shows from the openVPN folder downloaded from PIA.

 

Is it possible I am using the wrong certificates? They offer both TCP and UDP and I am not sure which to use.

 

Here is what I have in my openVPN folder within binhex-delugevpn:

 

ca.rsa.2048.pem

ca.rsa.2048.crt

Netherlands.ovpn

 

Am I completely missing something? I can't seem to figure out what I am doing wrong.

 

Any help is appreciated! Thanks!

Edited by ifruit
Figured it out

Share this post


Link to post

Hi All, Looking at setting up privoxy for deluge and getting a bit stuck on the setup.

 

I have been following spaceinvader ones videos but cant seem to get radarr to download anything to deluge once I setup the proxy settings (it does work with no proxy setting). Also I cannot get my windows machine working with the proxy address either, so i figured I am doing something wrong with deluge.

unraid address is 192.168.0.200

 

deluge settings below. I can upload any logs if needed. deluge is working all ok otherwise. Just not sure if I am missing something obvious.

Many Thanks

 

deluge.thumb.png.845b9fd445160ac3ea7c491bffc77cb7.png

 

Share this post


Link to post

Hi all,

I had an error last week that my (admittedly small @ 10GB) Docker container was filling up, so I thought I'd take a look at the container sizes to see who was to blame. 

Despite barely ever using it (it sits turned of most of the time - only turning it on when I want to download some sweet Linux ISOs), Deluge VPN has the biggest size at 1.34 GB (see attached).

So I thought I'd take a look around the settings to see if it was storing any old torrents (all torrents have finished seeding and are now gone from the UI) somewhere in the container, but all references I can find to paths in the settings menu point to /data which I have mapped to a folder on the array (/mnt/user/bigfiles/deluge/). 

So, I'm asking here: is 1.34 GB a normal size for this container? Or is it likely that there is an old torrent sitting in the container somewhere that I should find and delete? 

Thanks all!

 

Docker_Container_sizes.png

Share this post


Link to post
3 minutes ago, jademonkee said:

So, I'm asking here: is 1.34 GB a normal size for this container?

yes, there is a lot of stuff installed in this image, its going to be bigger than most, keep in mind that if you run other images created by me then you will make use of the caching of layers, thus the pull down wont be anything like that.

Share this post


Link to post
12 hours ago, Kuwabara89 said:

ut cant seem to get radarr to download anything to deluge once I setup the proxy settings

screenshot of your radarr config for proxy please.

Share this post


Link to post

would it be possible to specify routes to add to the container?

for example my network has 2 different LAN network CIDRs.

I added a big enough range for LAN_NETWORK but it does not add a route to the container.

it adds a 192.168.1.0/24 route but I would need 192.168.20.0/24 also.

 

doing it manually is not good as it gets removed next time container is re created.

Edited by nekromantik

Share this post


Link to post
23 minutes ago, nekromantik said:

added a big enough range for LAN_NETWORK but it does not add a route to the container.

it adds a 192.168.1.0/24 route but I would need 192.168.20.0/24 also.

define LAN_NETWORK with a comma between networks, this will then add both.

Share this post


Link to post
5 minutes ago, binhex said:

define LAN_NETWORK with a comma between networks, this will then add both.

thanks

Edited by nekromantik

Share this post


Link to post
5 hours ago, binhex said:

screenshot of your radarr config for proxy please.

Thanks, config attached, have also included radarr settings from unraid.

Also the radarr log from when attempting to download. As i seem to be able to get results from the search tab

radarr.png

radarr unraid.png

log.png

Share this post


Link to post

Hello All,

 

I was wondering what's happen to my docker. I came back this afternoon and found that nothing was downloading, so i restarted the docker and now I cant get access to the portal page? So I went to the logs, but I'm not able to find out what the issue actually is? Can anyone help me sort out why it just stopped suddenly? 

 

image.thumb.png.c91913be62d8526eeee4cc1d425e7354.png

 

It just keeps repeating the above.

 


Thanks,

Brax.

Share this post


Link to post

Hi - I'm trying to work out the best security approach for unRaid downloads. I use Binhex SABDNZB, Sonarr and Radarr with Usenet providers via SSL. Do the SSL connections mean I don't need a VPN? If a VPN is still recommended, what is the preferred approach? It seems that I could install the Arch Linux PIA application on my unRaid server, enable port forwarding and connect to a port fwding endpoint. Or I could install one of the Binhex VPN enabled apps, configure it for PIA port forwarding and privoxy and point Sonarr and Radarr to port 8118. Any recommendations gratefully received ;-)

Share this post


Link to post
50 minutes ago, Tabraxis said:

Hello All,

 

I was wondering what's happen to my docker. I came back this afternoon and found that nothing was downloading, so i restarted the docker and now I cant get access to the portal page? So I went to the logs, but I'm not able to find out what the issue actually is? Can anyone help me sort out why it just stopped suddenly? 

<image>

It just keeps repeating the above.

Samesies here. I got a DMCA notice for the first time ever so I went to check on it and restart. It didn't work, so I decided it was as good of time to ever to update to 6.6.6, did that and still having the same issue you are.

Share this post


Link to post

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.