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.

[Version: 6.12.6] Multiple docker networks with VPN

Featured Replies

I am using several containers with a VPN (wireguard) server to mask my public IP. This works great. However i wanted to add a reverse proxy to my setup and stumbled across using container names to configure this. Sounds good. But some containers use wg0 network and others use a different network. I have tried adding a second network with

docker network connect my-net my-nginx

That does work the containers can now ping each other on their container name. However it no longer uses the VPN server's IP for outgoing connections.

 

Is there a way to use 2 docker networks together but still have the VPN IP address as the public IP of that container?

So for example:

nzbget uses both wg0 and <customerdockernetwork> as its network while routing traffic over the VPN and using the external IP of the VPN.

After hours of fiddling tweaking and reading posts and watching youtube i am stuck on this. Hope someone can point me in the right direction

  • Author

Bump

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.