Better firewall configuration
This commit is contained in:
parent
ac91a506da
commit
ce31c67653
2 changed files with 15 additions and 1 deletions
|
|
@ -38,7 +38,14 @@ with lib; {
|
|||
# firewall.allowedTCPPorts = [ ... ];
|
||||
# firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
firewall.enable = false;
|
||||
# firewall.enable = false;
|
||||
|
||||
firewall.allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDEConnect
|
||||
];
|
||||
firewall.allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDEConnect
|
||||
];
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue