stinger: update firewall for homeassistant
All checks were successful
flake / flake (push) Successful in 1m47s

This commit is contained in:
Jake Hillion 2024-11-06 20:12:59 +00:00
parent 3a2d6f4e2e
commit a07c493802
2 changed files with 7 additions and 5 deletions

View File

@ -45,12 +45,9 @@
networking.firewall.interfaces = {
"eth0" = {
allowedUDPPorts = [
5353 # HomeKit
];
allowedTCPPorts = [
1400 # HA Sonos
7654 # Tang
21063 # HomeKit
];
};
};

View File

@ -63,8 +63,13 @@
allowedUDPPorts = lib.mkForce [ ];
interfaces = {
eth0 = {
allowedTCPPorts = lib.mkForce [ ];
allowedUDPPorts = lib.mkForce [ ];
allowedTCPPorts = lib.mkForce [
1400 # HA Sonos
21063 # HomeKit
];
allowedUDPPorts = lib.mkForce [
5353 # HomeKit
];
};
};
};