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

Featured Replies

Summary: Fetching NZB from URL works only with internal docker container IP, not with real host IP

 

Description:

 

Some content management application M only send references to NZBs to the downloader as an URL so that the NZB must be fetched by the downloader itself.

 

Imagine that the NZB URL points to NZBhydra2 as meta indexer X running in a docker container A on the same host H where SABnzb is also running in a docker container B. As a result M (running in docker container C on H) wants SABnzb in B to fetch the NZB from X in A.

The containers A, B, C run in their vanilla setting as downloaded (Bridge mode), just the pathes were set properly.

Container A is the linuxserver container with NZBhydra2.

Container B is the binhex container with SABnzbd, OpenVPN and Privoxy.

 

Observation: Depending on how X (NZBhydra2) is referenced in the URL, SABnzbd will be able to fetch the NZB or it will time out, and this can be verify using curl in the container terminal session

What works:

(1) internal IP of container A running NZBhydra / curl 172.17.0.x:5076 works

 

What does not work

(2) external IP of container A running NZBhydra, i.e. real IP of host H / curl "local IP":5076 -> connection refused

(3) local DNS name of H / curl "local dns name":5076 -> Could not resolve host

 

Thoughts:

 

(1) should NOT work, since this IP may change and applications external to the container should always use the real IP address or DNS name of H, could be that OpenVPN treats the container-internal IPs as on the same network and not to be forwarded through the VPN tunnel?

(2) should actually work, could this have to do with OpenVPN, sending traffic for IP of H through the VPN tunnel and nothing answering there? Why would it consider its won hosts real IP address to be on the internet and not on the own end of the tunnel?

(3) reason: if using the binhex SABnzbd-VPN container, within the container local DNS names cannot be resolved because all DNS traffic is sent to the DNS server on the other end of the VPN tunnel

 

My questions (decreasing priority):

-How can I make (3) work? probably some proper setting for OpenVPN for name resolution? which?

-Why does (2) not work and how can I make (2) work?

-Why does (1) work and how can I prevent container-external processes to access container-internal IPs?

 

Thank you for your tme and effort!

 

Edited by b0m541
additional details

  • 1 month later...
  • Replies 1.8k
  • Views 423.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • i'm aware of the issue guys and i think i have a fix, i shall post back when i have built a fixed image.

  • hi guys, spotted the issue regards dos2unix.sh and corrected it, image now  building, should be done in around an hour.. then pull and you should be back up and running.

  • there are ongoing issues with PIA DNS, you can try setting NAME_SERVERS to the following (removes PIA DNS):- 84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1  

Posted Images

Sabnzbvpn is no longer loading for me. It stops at the following:

dos2unix: converting file /config/openvpn/Switzerland.ovpn to Unix format...

 

Need help. I am new to unraid and want to setup my vpn info but lost on how. I am using vyprvpn service.

I have

VPN_ENABLED = yes

VPN_USER = ***** (My VPN login Name)

VPN_PASS = ***** (My VPN login Pass)

VPN_PROV = custom (Since its not PIA or AirVPN)

VPN_OPTIONS = blank

 

I have put my ovpn file into the openvpn folder it created.

 

But when I try and connect to the GUI it never works, but if I disable the VPN it does. how can/ where can I pull a log.

Edited by almulder

  • Author
Need help. I am new to unraid and want to setup my vpn info but lost on how. I am using vyprvpn service.
I have
VPN_ENABLED = yes
VPN_USER = ***** (My VPN login Name)
VPN_PASS = ***** (My VPN login Pass)
VPN_PROV = custom (Since its not PIA or AirVPN)
VPN_OPTIONS = blank
 
I have put my ovpn file into the openvpn folder it created.
 
But when I try and connect to the GUI it never works, but if I disable the VPN it does. how can/ where can I pull a log.
Follow the guide here:-
https://github.com/binhex/documentation/blob/master/docker/guides/vpn.md

Sent from my CLT-L09 using Tapatalk

Could not make it work, so I decided to just sign up to PIA and use it since it seems more geared toward that, and now it works. Thanks.

First, as always Binhex, thank you for doing this for us!

 

I've been beating my head against the wall. So any help would be greatly appreciated.

The moment i disable the VPN, it starts working... but then again... no VPN :(

I have swapped my network to a full unifi network, but that shouldnt be the cause : 

I am able to connect to the VPN but unable to load up the GUI for sabnzb. Attached is my debug enabled log : 

 

https://pastebin.com/i9JrSE5Y

Edited by denellum

  • Author
24 minutes ago, denellum said:

First, as always Binhex, thank you for doing this for us!

 

I've been beating my head against the wall. So any help would be greatly appreciated.

The moment i disable the VPN, it starts working... but then again... no VPN :(

I have swapped my network to a full unifi network, but that shouldnt be the cause : 

I am able to connect to the VPN but unable to load up the GUI for sabnzb. Attached is my debug enabled log : 

 

https://pastebin.com/i9JrSE5Y

nothing obviously wrong there, you sure this is correct?:-

 

2019-10-11 10:20:04.904522 [info] LAN_NETWORK defined as '10.10.40.0/24'

 

what is your servers ip address and subnet mask?

3 minutes ago, binhex said:

nothing obviously wrong there, you sure this is correct?:-

 

2019-10-11 10:20:04.904522 [info] LAN_NETWORK defined as '10.10.40.0/24'

 

what is your servers ip address and subnet mask?

Yes sir, i have my network well segmented :)

The server is 10.10.40.40/24

  • Author
3 minutes ago, denellum said:

Yes sir, i have my network well segmented :)

The server is 10.10.40.40/24

and the pc you are attempting to connect to the web ui, is that also on 10.10.40.0/24?

1 hour ago, binhex said:

and the pc you are attempting to connect to the web ui, is that also on 10.10.40.0/24?

No, i am on my admin network, which has the ability to traverse : 

https://imgur.com/a/Ml9iYTV

  • Author
No, i am on my admin network, which has the ability to traverse : 
https://imgur.com/a/Ml9iYTV
It may well have the ability to traverse but iptables will block until you add that network to lan_network. Add it to the existing with a comma to separate.

Sent from my CLT-L09 using Tapatalk

22 minutes ago, binhex said:

It may well have the ability to traverse but iptables will block until you add that network to lan_network. Add it to the existing with a comma to separate.

Sent from my CLT-L09 using Tapatalk
 

OMG, THAT DID IT! Thank you!!!!! Donation coming in after work today :)

Updated to latest version today and am receiving the following error.  Container won’t start.

 

OpenVPN config file (ovpn extension) is located at /config/openvpn/ipvanish-US-Atlanta-atl-a72.ovpn
/usr/local/bin/init.sh: line 145: /usr/local/bin/dos2unix.sh: No such file or directory

Same, just updated now won't start with the same error.

dos2unix.sh error with latest update as well.

Rolled back to 2.3.9-1-05.  Now working again.

 

looks like 2.3.9-1-06 is not working

Edited by beaverly72

6 minutes ago, beaverly72 said:

Rolled back to 2.3.9-1-05.  Now working again.

 

looks like 2.3.9-1-06 is not working

Okay, not just me, thanks for the update.

 

Others wanting to know how to downgrade until it's fixed, in the template change the Repository to this "binhex/arch-sabnzbdvpn:2.3.9-1-05"

59 minutes ago, beaverly72 said:

Rolled back to 2.3.9-1-05.  Now working again.

 

looks like 2.3.9-1-06 is not working

 

Same here on Ubuntu 19.04 w/ Docker 19.03.3

Edited by Maverick0984

Sorry for a n00b question but how do I roll back to an older version? I swear I had read it somewhere but I cannot remember.

 

Thanks

Same here. been wracking my brain for about 2 hours trying to solve this, looks like it was an update (timed perfectly with a docker corruption)

Edited by rav007
spelling

  • Author

hi guys, spotted the issue regards dos2unix.sh and corrected it, image now  building, should be done in around an hour.. then pull and you should be back up and running.

9 hours ago, binhex said:

hi guys, spotted the issue regards dos2unix.sh and corrected it, image now  building, should be done in around an hour.. then pull and you should be back up and running.

I can confirm this update fixed things for me.  Thanks!

Just a heads up for those that rolled back, make sure you do a "force update", it didn't just work for me after reverting back to the latest option in the repository.

Hi,

For those people in US and running the container with VPN=ON, what country do you VPN to and how is your performance during downloads?

On 5/13/2019 at 12:03 PM, beverage said:

SABnzbd version 2.3.8 [0dd1f64].  Using the Servers tab in the UI, I tried to update the password for one of my servers, but the change wouldn't save.  I tried deleting the server so I could re-add, but I was also unable to delete the server.  I was also unsuccessful in clearing the counters via the UI.  I managed to make the password change by directly editing the .ini file, so all is good, but has anyone else had issues like this with the UI?

 

On 5/13/2019 at 12:17 PM, BeerEngineer said:

Yes!

I specifically encountered this issue when trying to "Test" the Server Downloaders"  and even the categories had a problem.  Based on what I could see, Google Chrome was causing the fields to somehow mismatch which resulted in saving the wrong field data to the wrong fields.  As a result, the save would fail because the data it was trying to put into the fields was "Illegal"  I speculated that it might have to do with autofill/remembered data.

 

When I logged in with Microsoft Edge and did the same activities it worked as expected.  I had a similar experience with the Sonarr/Radarr webui's as well.

 

 

 

 

On 5/13/2019 at 12:38 PM, beverage said:

Didn't think about the browser, but just tried with Firefox (which is what I use 99% of the time) and the UI seems to work fine.  I must have been using Chrome yesterday.

Now using BinHex docker running SABnzbd 2.3.9 [03c10dc] - appears up-to-date as of this post.  Had to update one of my block providers.  This time, no matter which browser I tried (Firefox, Chrome, Edge, IE), I was unable to update the username or clear the counters via the UI.  I ended up changing the username directly in the .ini file again, but am unable to Test the connection via the UI.  Browsers are all up-to-date (well, not IE).  Is anyone else running into these same issues, or is there something i should be checking on my local machine?

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.