From ff415c980ca4e0a1a2870c9ea2f5e6a8e7d97e81 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 14 May 2024 22:51:08 +0200 Subject: [PATCH] Update systems/LoutreOS/configuration.nix --- systems/LoutreOS/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 8a2497d..a6e4dca 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -121,6 +121,8 @@ iptables -t nat -D PREROUTING -s 10.30.0.0/16 -d 176.180.172.105 -j DNAT --to 10.30.0.1 || true iptables -t nat -A PREROUTING -s 10.30.0.0/16 -d 176.180.172.105 -j DNAT --to 10.30.0.1 ''; + # remove refs to nixos-fw-log-refuse before restarting firewall + # prevents "ressource busy" errors extraStopCommands = '' ip6tables -D loutreos-forward -j nixos-fw-log-refuse 2>/dev/null || true '';