disable standard firewall

This commit is contained in:
2023-11-30 23:52:11 +01:00
parent 460a901633
commit fc0ea1d622
3 changed files with 23 additions and 23 deletions

View File

@@ -46,10 +46,10 @@
''; '';
}; };
networking.firewall = { # networking.firewall = {
allowedUDPPorts = [ # allowedUDPPorts = [
5683 # shelly coiot # 5683 # shelly coiot
]; # ];
}; # };
} }

View File

@@ -26,7 +26,7 @@
]; ];
}; };
networking.firewall = { # networking.firewall = {
allowedTCPPorts = [ 1883 ]; # allowedTCPPorts = [ 1883 ];
}; # };
} }

View File

@@ -110,19 +110,19 @@ in
}; };
networking.firewall.allowedTCPPorts = [ # networking.firewall.allowedTCPPorts = [
80 # http # 80 # http
443 # https # 443 # https
1704 # snapcast # 1704 # snapcast
1705 # snapcast # 1705 # snapcast
5000 # airplay # 5000 # airplay
5353 # airplay # 5353 # airplay
]; # ];
networking.firewall.allowedUDPPorts = [ # networking.firewall.allowedUDPPorts = [
5000 # airplay # 5000 # airplay
5353 # airplay # 5353 # airplay
]; # ];
networking.firewall.allowedUDPPortRanges = [ # networking.firewall.allowedUDPPortRanges = [
{ from = 6001; to = 6011; } # airplay # { from = 6001; to = 6011; } # airplay
]; # ];
} }