Activation firewall
This commit is contained in:
parent
637124f767
commit
5f79348c07
@ -56,11 +56,9 @@
|
|||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.permitRootLogin = "no";
|
services.openssh.permitRootLogin = "no";
|
||||||
|
|
||||||
# Open ports in the firewall.
|
networking.firewall.allowedTCPPorts = [ ];
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
networking.firewall.allowedUDPPorts = [ ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
networking.firewall.enable = true;
|
||||||
# Or disable the firewall altogether.
|
|
||||||
# networking.firewall.enable = false;
|
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user