Update systems/LoutreOS/configuration.nix
This commit is contained in:
parent
a1d16f1e76
commit
ff415c980c
@ -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 -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
|
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 = ''
|
extraStopCommands = ''
|
||||||
ip6tables -D loutreos-forward -j nixos-fw-log-refuse 2>/dev/null || true
|
ip6tables -D loutreos-forward -j nixos-fw-log-refuse 2>/dev/null || true
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user