nixos-module/container/upstream: remove remnants
This commit is contained in:
parent
2765dd05e2
commit
8ee629945d
|
@ -116,10 +116,6 @@ in
|
|||
ip6tables -F FORWARD 2>/dev/null || true
|
||||
|
||||
ip6tables -t nat -F POSTROUTING 2>/dev/null || true
|
||||
${lib.concatMapStringsSep "\n" (net: ''
|
||||
ip6tables -t nat -F ${net}_nat 2>/dev/null || true
|
||||
ip6tables -t nat -X ${net}_nat 2>/dev/null || true
|
||||
'') (builtins.attrNames upstreamInterfaces)}
|
||||
'';
|
||||
|
||||
forwardPorts = map ({ destination, sourcePort, reflect, ... }@forwardedPort:
|
||||
|
|
Loading…
Reference in New Issue