Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] restrict access to local networks

Hello Chris!

On 05.08.19 12:01, Christian wrote:
> Hallo everyone,
> 
> after hours of searching and asking google, i see no other way as to ask you
> here.
> 
> I like to restrict access of a single listener (1883) to two local networks
> (i.e. 192.168.1.0/24 and 192.168.2.0/24). So for this listener all requests
> not coming from these two networks should be rejected.

I don't see a way to configure that in mosquitto. I think I would implement that
by limiting access to the port via a firewall rule. (Or I would check if it makes
sense to have a dedicated interface for these networks and then bind only to that?)

All the best,
rob



Back to the top