Limiting a docker to specific LAN IP addresses


ThatDude

Recommended Posts

I'm wondering if anyone knows of a way to limit which LAN devices can connect to a specific docker?

 

For instance I have a docker running binhex-minidlna and it's broadcasting DLNA services to my entire LAN, I'd like to restrict access to a specific device IP 192.168.1.150 or range of IP addresses.

Link to comment
I'm wondering if anyone knows of a way to limit which LAN devices can connect to a specific docker?
 
For instance I have a docker running binhex-minidlna and it's broadcasting DLNA services to my entire LAN, I'd like to restrict access to a specific device IP 192.168.1.150 or range of IP addresses.
There are two ways for me.
1. Firewall like IP routes etc.
2. Setting up a docker network and adding the Route just to that specivic divices.

Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

Link to comment
18 hours ago, knex666 said:

There are two ways for me.
1. Firewall like IP routes etc.
2. Setting up a docker network and adding the Route just to that specivic divices.

Gesendet von meinem Redmi Note 8 Pro mit Tapatalk
 

Those both sounds great, although a little abstract for my skillset 🙂

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.