disable standard firewall
This commit is contained in:
@@ -46,10 +46,10 @@
|
||||
'';
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [
|
||||
5683 # shelly coiot
|
||||
];
|
||||
};
|
||||
# networking.firewall = {
|
||||
# allowedUDPPorts = [
|
||||
# 5683 # shelly coiot
|
||||
# ];
|
||||
# };
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 1883 ];
|
||||
};
|
||||
# networking.firewall = {
|
||||
# allowedTCPPorts = [ 1883 ];
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -110,19 +110,19 @@ in
|
||||
};
|
||||
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 # http
|
||||
443 # https
|
||||
1704 # snapcast
|
||||
1705 # snapcast
|
||||
5000 # airplay
|
||||
5353 # airplay
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
5000 # airplay
|
||||
5353 # airplay
|
||||
];
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
{ from = 6001; to = 6011; } # airplay
|
||||
];
|
||||
# networking.firewall.allowedTCPPorts = [
|
||||
# 80 # http
|
||||
# 443 # https
|
||||
# 1704 # snapcast
|
||||
# 1705 # snapcast
|
||||
# 5000 # airplay
|
||||
# 5353 # airplay
|
||||
# ];
|
||||
# networking.firewall.allowedUDPPorts = [
|
||||
# 5000 # airplay
|
||||
# 5353 # airplay
|
||||
# ];
|
||||
# networking.firewall.allowedUDPPortRanges = [
|
||||
# { from = 6001; to = 6011; } # airplay
|
||||
# ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user