Block access to docker containers UI on local network


TX_Pilot

Recommended Posts

I have several docker containers running on a private docker network. I am using SWAG as a reverse proxy. I can access the UI of any of the containers locally on my network. Is there a way to block access from the local network to the UI so that I can force all traffic through the reverse proxy? 

 

For example, user can access the docker at: http://unraid-server:5050 and https://myapp.mydomain.com but I only want them to be able to use use the https://myapp.mydomain.com 

 

I have local DNS resolving the domain correctly so this is not an issue.

 

Thanks for your help.

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.