disable standard firewall
This commit is contained in:
@@ -46,10 +46,10 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
# networking.firewall = {
|
||||||
allowedUDPPorts = [
|
# allowedUDPPorts = [
|
||||||
5683 # shelly coiot
|
# 5683 # shelly coiot
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
# networking.firewall = {
|
||||||
allowedTCPPorts = [ 1883 ];
|
# allowedTCPPorts = [ 1883 ];
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
# ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user