1
0
Fork 0

mosquitto: enable service

This commit is contained in:
Daniel Kempkens 2023-03-17 22:07:24 +01:00
parent 2f9158254f
commit a0654b8f1d
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -39,7 +39,7 @@ in
gid = 421; gid = 421;
}; };
services.mosquitto.listeners = { services.mosquitto.listeners = [{
weewx-private = { weewx-private = {
address = "0.0.0.0"; address = "0.0.0.0";
port = 1883; port = 1883;
@ -56,7 +56,7 @@ in
}; };
}; };
}; };
}; }];
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ]; networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ];
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 1883 ]; networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 1883 ];