Activation firewall

This commit is contained in:
nyanloutre 2018-04-01 11:27:39 +02:00
parent 637124f767
commit 5f79348c07
1 changed files with 3 additions and 5 deletions

View File

@ -56,11 +56,9 @@
services.openssh.enable = true;
services.openssh.permitRootLogin = "no";
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedUDPPorts = [ ];
networking.firewall.enable = true;
security.sudo.wheelNeedsPassword = false;