bacula: restrict port to agdsn networks
This commit is contained in:
parent
0084a02568
commit
d6571ac695
|
@ -5,7 +5,11 @@
|
||||||
"bacula/keypair".owner = "bacula";
|
"bacula/keypair".owner = "bacula";
|
||||||
"bacula/masterkey".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 = {
|
services.bacula-fd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "ifsr-quitte";
|
name = "ifsr-quitte";
|
||||||
|
|
Loading…
Reference in a new issue