Wireguard connected smartphone has no access to home network devices when Docker custom network br0 macvlan is enabled

Recommended Posts



I am trying to connect with my smartphone to my unraid. 

Issue is that if I enabled the br0 macvlan in docker (custom ip used in for my pihole docker), my via wireguard connected phone is not able to connect to my router at anymore. I can only access the dockers that are part of the br0 network and my unraid machine.

If docker is turned off, everything is working fine. 




Once I add the custom br0 network in docker settings, the following routing entries seem to get added:



Any ideas what is causing this behaviour and how to fix it?




I can add a new custom route to my router via br0 which seems to overwrite and allows access of my router via Wireguard, but I am not planning to do this for devices on my network:


Edited by dweb
Link to comment

I figured out that the shim-br0 routes will be created once I enable the Docker settings "Host access to custom networks".


Disabling this setting unfortunately disables the access from the host to the custom network dockers, but at least all other machines will be accessible via wireguard. 


I keep the setting disabled until I find a better way. 




Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.