Open firewall ports
This commit is contained in:
@@ -35,6 +35,12 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ cfg.port ];
|
||||
allowedUDPPorts = [ cfg.port ];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
[ "d ${cfg.state-directory} 0750 clamav clamav - -" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user