From 46debf50c5dea173a594473b21649de7ba7dda59 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 4 Feb 2024 22:33:47 +0100 Subject: [PATCH] nixos-module/firewall: fix --- nix/nixos-module/firewall.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos-module/firewall.nix b/nix/nixos-module/firewall.nix index 31369f8..4d6b27e 100644 --- a/nix/nixos-module/firewall.nix +++ b/nix/nixos-module/firewall.nix @@ -5,7 +5,7 @@ lib.mkIf config.site.hosts.${hostName}.firewall.enable { enable = true; extraCommands = '' ip46tables -A FORWARD -i core -m state --state ESTABLISHED,RELATED -j ACCEPT - ip46tables -A FORWARD -i core -j REJECT --reject-with net-unreach + ip46tables -A FORWARD -i core -j REJECT ''; extraStopCommands = '' ip46tables -F FORWARD