Add firewall configuration to sync
This commit is contained in:
parent
a8b3f92fab
commit
8b669fe507
1 changed files with 18 additions and 0 deletions
|
|
@ -4,4 +4,22 @@
|
|||
];
|
||||
myModules.caddy.enable = true;
|
||||
myModules.fieldseeker-sync.enable = true;
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
interfaces.ens3 = {
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
};
|
||||
trustedInterfaces = [
|
||||
"ens4"
|
||||
"lo"
|
||||
];
|
||||
};
|
||||
networkmanager.enable = false;
|
||||
nftables = {
|
||||
enable = true;
|
||||
};
|
||||
useNetworkd = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue