Hello. I'm installing NetMaker server, and I notic...
# netmaker
l
Hello. I'm installing NetMaker server, and I noticed that the mosquito config [1] has two listeners - one on port 8883 and one on 1883. What's the difference, and which one needs to be exposed publicly? [1] - https://github.com/gravitl/netmaker/blob/master/docker/mosquitto.conf
b
8883 should be exposed publicly. 1883 is only listening on localhost -- to allow the netmaker server to connect locally
that being said, if you are using traefik, traefix will proxy the mqtt connection to 8883 and in this case neither 8883 nor 1883 need to be exposed publically
l
Gotcha, thank you! I am using nginx, but I am also reverse proxying MQTT, so same applies :)