Docker Networking Help - Nginx and Custom br0 Network


Recommended Posts

Hey Everyone,

 

I could really use some help, I am stumped about some networking issues.

Currently running Unraid 6.8.2

All containers except for HomeAssistantCore have a static IP on custom br0

 

I am two issues:

1.  I am trying to expose an Ombi container through a reverse proxy.  I can get all that working, but as soon as a place it on the Custom: Proxynet network that Spaceinvader describes in his video, I lose access to sonarr, radarr, etc...  Any idea how to fix this?  Do i put all my containers on proxynet?

 

ombi.PNG

 

2.  My HomeAssistant Core container network is set to host and privileged.  Integrations are working fine, but it cannot connect to anything on the custom br0 network.  In fact, any container that is not on custom br0 cannot communicate with a container on host or bridged network settings.

 

Things I have looked at trying:

1.  I have a secondary nic in the server not being used.  Do I need to make a separate subnet on my router with a different gateway and move all my containers to that network and on the secondary nic?  How is this done in Unraid?

network settings.PNG

2.  Do i put all my containers on proxynet?  This scares me as I dont want to expose everything to the outside world.

 

3. Under Settings>Docker, do I set "Host Access to custom networks" from Disabled to Enabled?

docker network.PNG

 

Any help would be appreciated!!!

 

 

 

Edited by skiman384
picture moving
Link to comment
  • 1 month later...

Hi skiman384,

I have an issue when i set up reverse proxy for Home Assistant, I loss google cast devices and i found a Avahi container that help me

 

docker run -d --name=mdns-reflector \
  --network proxynet \
  -e REFLECTOR_ENABLE_REFLECTOR=yes \
  flungo/avahi

Once the docker container is running do 

docker network connect br0 mdns-reflector

I am far from an expert but I found this after some hours using google.

Hope it help. 

  • Like 1
Link to comment
  • 2 months later...
On 5/15/2020 at 10:11 PM, Carlos Amador said:

Hi skiman384,

I have an issue when i set up reverse proxy for Home Assistant, I loss google cast devices and i found a Avahi container that help me

 


docker run -d --name=mdns-reflector \
  --network proxynet \
  -e REFLECTOR_ENABLE_REFLECTOR=yes \
  flungo/avahi

Once the docker container is running do 


docker network connect br0 mdns-reflector

I am far from an expert but I found this after some hours using google.

Hope it help. 

Thank you for this! This allowed me to get google cast devices and Homekit working in home assistant! Is there a way to have the docker network command issued automatically on system reboot or do you do it manually each time?

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.

Guest
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.