I'm trying to build a home automation system using MQTT. I'm using a Raspberry Pi as the broker. Everything works great as far as controlling it when connected to the same network. But I want to have the functionality of being able to control it from an external network. I don't want to just open a port that anyone can send traffic through. What's the best way to set up external control of the MQTT network securely so only devices that I want can connect and control it?
Asked
Active
Viewed 79 times
2
-
What research have you already done? – hardillb Dec 11 '19 at 19:47
-
Hi @Nick, which broker are you using on your Pi? Mosquitto? – Aurora0001 Dec 11 '19 at 21:04
-
A few more ideas for your IoT server: https://www.youtube.com/watch?v=a6mjt8tWUws. In particular PiVPN might be what you're looking for: https://www.youtube.com/watch?v=15VjDVCISj0 – Marcel Stör Dec 21 '19 at 18:56