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.

Docker Wireguard custom network has access to clearnet when tunnel is not active

Featured Replies

I was surprised when I noticed my docker container having access to Internet through my ISP even though my Wireguard tunnel was not active and the container was bound to `wg1` network only.

I think the possible cause of this is that Unraid creates wg1 custom network with `internal=false` flag meaning the network has access to host internet.

I am concerned as it could be a privacy issue leaking my real IP to the internet through docker containers which I want ONLY to access Internet through a tunnel.

 

I am not entirely sure wether I should discuss it here first or should've created a post in Bugs subform, feel free to move the thread...

 

My setup:

System: Unraid 6.12.11

Wireguard tunnel settings:

- Peer type of access: tunneled access for docker

- Status: inactive

Docker settings:

- Docker custom network type: macvlan

- Host access to custom networks: Disabled

- Preserve user defined networks: Yes

Docker container:

- Network Type: Custom: wg1

 

Edited by miltador

  • Author

It is worth noting I wasn't able to reproduce when I activated the tunnel in web ui again and then deactivated it :/ 

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.