Enable the firewall in the network module.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
{
|
||||
networking.useDHCP = true;
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 ];
|
||||
allowedUDPPorts = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user