enable firewall again

replace iptables with nftables
disable reverse path filtering for all hosts
allow port 5353 for host running dnsmasq
closes #31
This commit is contained in:
Pim Kunis 2024-01-12 22:31:15 +01:00
parent efe9b57867
commit 6bcdd774ac
2 changed files with 8 additions and 4 deletions

View file

@ -22,8 +22,8 @@ in
config = lib.mkIf cfg.enable {
networking.firewall = {
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 67 ];
allowedTCPPorts = [ 53 5353 ];
allowedUDPPorts = [ 53 67 5353 ];
};
services = {