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.

How to prevent Unraid WebGUI access through Docker containers?

Featured Replies

I'm trying to isolate some of my docker containers and after testing different IPs and Ports I found out that all of my docker containers are able to connect to the Unraid WebGUI.

 

Example:

1517208923_2021-01-2123_43_11.png.82ed8dda1166f29e3f3c783c273409de.png

 

Thanks to docker's --internal flag all these connections failed:

google.com           Internet
192.168.178.1        Router
192.168.178.21:445   SMB Client
172.17.0.2:32400     Plex Bridge IP
192.168.178.9:32400  Plex Host IP

 

Only these connections worked:

172.19.0.4:3306       MariaDB (wanted)
192.168.178.9/login   Unraid WebGUI (unwanted)

 

Is this a wanted behaviour? How can I block this?

  • Author

This iptables Rule solves the issue (first block = internal container network, second block = my local network which unraid is part of)

iptables -A INPUT -s 172.19.0.0/24 -d 192.168.178.0/24 -j DROP

 

But I'm still interested if this (container is able to open the Unraid WebGUI) is an expected behaviour. 

Wondering if this setting might have anything to do with it and how yours is configured?

 

Under Settings - Docker advanced settings

 

Host access to custom networks:  Disabled/Enabled

Allows direct communication between the host and containers using a custom (macvlan) network.
By default this is prohibited.

 

 

  • Author

Mine is disabled. So if I use br0, I'm not able to ping the host (but everything else).

  • 1 year later...

Hi

I would like to know if there are any news?

@mgutt

 

  • 7 months later...
On 1/22/2021 at 1:06 PM, mgutt said:

This iptables Rule solves the issue (first block = internal container network, second block = my local network which unraid is part of)

iptables -A INPUT -s 172.19.0.0/24 -d 192.168.178.0/24 -j DROP

 

But I'm still interested if this (container is able to open the Unraid WebGUI) is an expected behaviour. 

Hi, where did you put this iptable entry in?

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.