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.

VPN tunneled access for docker IPV6

Featured Replies

Hello, I want to use IPV6 with my VPN provider within the custom docker network created for wg0. Unraid/Docker seems to have generated only an IPV4 subnet for the related custom network.

Also it seems that in root/config/wireguard/wg0.cfg no ipv6 route is added (interface up) or deleted (interface down):

PostUp=ip -4 route flush table 200

PostUp=ip -4 route add default via 10.133.136.143 dev wg0 table 200

PostUp=ip -4 route add 192.168.231.0/24 via 192.168.231.1 dev br0 table 200

PostDown=ip -4 route flush table 200

PostDown=ip -4 route add unreachable default table 200

PostDown=ip -4 route add 192.168.231.0/24 via 192.168.231.1 dev br0 table 200

Greetings and thank you in advance.

Screenshot_20251025_165857.png

  • Community Expert

Yeah, the build in wireguard implementation doesnt support ipv6 at all atm. I still havent come around to attempt to fix it but if you need ipv6, ive a container in CA you can use for it.

  • Author
3 minutes ago, Mainfrezzer said:

Yeah, the build in wireguard implementation doesnt support ipv6 at all atm. I still havent come around to attempt to fix it but if you need ipv6, ive a container in CA you can use for it.

Thank you for the fast response. So If I understand your docker, it comes with proxy/socks I need to connect to? It is only partly useful for my case since I need the "route" to be dead on interface disconnect and I'm not sure how I can implement this on Unraid.

Edited by InternetD

  • Community Expert

Depends what you want to do. If you want other container to go through the VPN, you just select their network to be the vpn container like this
image.png

the privoxy http proxy and mircosocks socks5 proxy are more for like things hosted outside of unraid.

Smarttube on a firetv stick (i dont know if libretube supports proxy) or just a seperate firefox browser that goes through there on your pc.

Edited by Mainfrezzer

  • Author

Thank you, I will give it a try.

Edit: @Mainfrezzer Your docker works well, but sadly the web interface of the other docker I want to use refuses to work even after mapping all ports required accordingly within the template of your docker. I need to find a fix for that.

Edited by InternetD

  • Community Expert
5 hours ago, InternetD said:

Thank you, I will give it a try.

Edit: @Mainfrezzer Your docker works well, but sadly the web interface of the other docker I want to use refuses to work even after mapping all ports required accordingly within the template of your docker. I need to find a fix for that.

did you add the ip range of your lan/the network youre trying to access the container gui from, to the template of the wireguard container?

  • Author
13 hours ago, Mainfrezzer said:

did you add the ip range of your lan/the network youre trying to access the container gui from, to the template of the wireguard container?

If you meant that, yes I did.

Screenshot_20251026_112434.png

  • Community Expert

Which container is it, where the gui isnt working?

  • Community Expert

i see why, 8080 is "blocked/already used" by privoxy and the gui runs on 8080.

You can change the privoxy port by changing this variable

image.png



Edit: if you get the "unauthorized" message in the browser, add

WebUI\HostHeaderValidation=false

to the qBittorrent.conf under [Preferences]

Edited by Mainfrezzer

  • Author
55 minutes ago, Mainfrezzer said:

i see why, 8080 is "blocked/already used" by privoxy and the gui runs on 8080.

You can change the privoxy port by changing this variable

image.png

I tried to change the port in either one but said web gui stays unreachable. I'm looking right now into it again to see if I have not goofed a port or something.

  • Author

@Mainfrezzer Well looks like I did an error on my side yesterday and got the web gui worked (forgot to change the related setting/port within the qbittorent webgui itself). How do I pass the needed port from the wireguard client toward qbitorrent?

Edited by InternetD

  • Community Expert

they share the same "interface", every port that you map to the wireguard container goes also to the qbittorent container. So if you run something on 5023/tcp, you map that to the wireguard client and it will reach the attached qbittorrent container, same with 38282/udp for example, for lan that is. Same for the vpn connection, everything that hits the wireguard ip of the container, hits qbittorrent aswell, if its listening on that port, no template modification needed

Edited by Mainfrezzer

  • Author
20 minutes ago, Mainfrezzer said:

they share the same "interface", every port that you map to the wireguard container goes also to the qbittorent container. So if you run something on 5023/tcp, you map that to the wireguard client and it will reach the attached qbittorrent container, same with 38282/udp for example, for lan that is. Same for the vpn connection, everything that hits the wireguard ip of the container, hits sonar aswell, if its listening on that port.

Wel it doesnt seem that ports on the tunnel can reach the qbitorrent docker. My VPN provider gives me port 59963 UDP and TCP but I cant get it through to qbitorrent.

  • Community Expert

You might have to set the variable in the qBittorrent template for the incoming port
image.png


Torrenting isnt my strong expertise but it should work absolutely fine from the logs as its binding properly to the wireguard interface ip (10.123.0.2 and fc00:123::2), as long as your provider does forward it to your client.

image.png

Edited by Mainfrezzer

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.