bacula: restrict port to agdsn networks
This commit is contained in:
parent
0084a02568
commit
d6571ac695
|
@ -5,7 +5,11 @@
|
|||
"bacula/keypair".owner = "bacula";
|
||||
"bacula/masterkey".owner = "bacula";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ config.services.bacula-fd.port ];
|
||||
networking.firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr 10.144.0.11 tcp dport ${config.services.bacula-fd.port} accept comment "Only allow Bacula access from Abel"
|
||||
'';
|
||||
};
|
||||
services.bacula-fd = {
|
||||
enable = true;
|
||||
name = "ifsr-quitte";
|
||||
|
|
Loading…
Reference in a new issue