I'm using mosquitto for some IoT projects. I can use ACLs files to easily add authentication based on write and read access. But is there any way to active readwrite for a localhost connection and read for connections from outside (public IP)?
I don't see any reason to open the write access for the other connections outside even with a password, and access without the password would be easier for local services.