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.

Help routing a container through VPN

Featured Replies

Not sure if this is the right place?

 

I have qbittorrent-vpn set up usiong protonvpn. I have checked using curl ifconfig that the qbit runs through VPN and everything is working fine.

Now I am trying to set up Sabnzbd using linuxserver repo. I dont wanna use the sabz-vpn-binhex because it will use another slot on my protonvpn. So I am trying to route sabz through my qbit-vpn

Here is what I did:

 

  • Installed linuxserver's sabnzbd
  • It had a port conflict so re-assigned port 8080 to 8087. xxx:8080 runs by qbittorrent
  • Ran sabnzbd and it ran properly on port 8087. The port mapping App to Host shows 8080 -> 8087
  • I checked IP for sabnzbd and it showed my REAL IP, so no vpn as expected
  • Now I changed network type for sabnzbd to none, and added extra parameter as --net=container:binhex-qbittorrentvpn
  • Restarted sabnzdb and checked IP. Now it shows the correct VPN IP that I was expecting. This is the same IP that qbit shows and the one I used from protonVPN website. So looks like sabnzbd is routing correctly through the VPN.
  • SO FAR SO GOOD. Now comes the problem I am facing
  • I want to open the GUI for Sabnzbd, so according to the guides I need to define port mappings in the qbit-vpn container
  • So I go to qbit and add in port mapping with container port=8080 and host port=8087
  • But now when I restart both containers, the qbittorrent which earlier ran on xxx:8080, Now on xxx:8080, it opens the sabnzbd page. And if I go to xxx:8087, I get not found error
  • I even added 8087 in the VPN INPUT AND OUTPUT PORT in qbit container, but that didnt help.
  • Not sure what I am doing wrong, so anyone can help?
  • I even tried using the network set as qbittorrent network and removing the extra parameters. Same thing. :8080 opens my sabnzbd instead of qbittorrent

Here are the resources I looked up:

https://www.reddit.com/r/unRAID/comments/u2crzj/how_to_properly_reassign_port_mappings_on_docker/

https://www.reddit.com/r/unRAID/comments/ejeo20/how_to_pass_any_docker_container_through_a_vpn_on/

https://www.reddit.com/r/unRAID/comments/191esxv/how_to_route_any_docker_container_through_a_vpn/

https://www.youtube.com/watch?v=znSu_FuKFW0

Edited by VetRoaring
More Info

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.