ThatDude Posted February 25, 2020 Share Posted February 25, 2020 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. Quote Link to comment
knex666 Posted February 25, 2020 Share Posted February 25, 2020 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 Quote Link to comment
ThatDude Posted February 26, 2020 Author Share Posted February 26, 2020 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 🙂 Quote Link to comment
ThatDude Posted February 26, 2020 Author Share Posted February 26, 2020 I found these two posts that seem to touch on what I'd like to achieve: https://docs.docker.com/network/iptables/ https://stackoverflow.com/questions/28410432/limit-network-access-but-allow-a-specific-ip-for-a-running-docker-container But I'm inexperienced with iptables I don't want to screw up my unRAID server. I'll create a test unRAID server and experiment. Quote Link to comment
Recommended Posts
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.