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 '';