From 9e83565977bda949c6fcd9445d24a80556be00bf Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 11 Jul 2025 16:13:35 +0200 Subject: [PATCH] Remove extra flush commands on firewall stop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are not needed as they are already flushed when the firewall starts or stops. Reviewed-by: Aleix Boné --- m/apex/nfs.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/m/apex/nfs.nix b/m/apex/nfs.nix index 353a936..b1668c1 100644 --- a/m/apex/nfs.nix +++ b/m/apex/nfs.nix @@ -28,10 +28,5 @@ iptables -A nixos-fw -p udp -s 10.0.40.0/24 --dport 4002 -j nixos-fw-accept iptables -A nixos-fw -p udp -s 10.0.40.0/24 --dport 20048 -j nixos-fw-accept ''; - # Flush all rules and chains on stop so it won't break on start - extraStopCommands = '' - iptables -F - iptables -X - ''; }; }