parameterize main nic and dmz bridge interface names
firewall some services to particular interfaces
This commit is contained in:
parent
6bcdd774ac
commit
76501362f7
5 changed files with 44 additions and 28 deletions
|
@ -50,7 +50,7 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
networking.firewall.interfaces.${config.lab.networking.dmzBridgeName}.allowedTCPPorts = [
|
||||
2049 # NFS
|
||||
5432 # PostgeSQL
|
||||
111 # NFS
|
||||
|
|
Reference in a new issue