Add firewall configuration to sync

This commit is contained in:
Eli Ribble 2025-08-23 18:33:57 +00:00
parent a8b3f92fab
commit 8b669fe507

View file

@ -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;
};
}