summary refs log tree commit diff
path: root/modules/services/networking/nat.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/networking/nat.nix')
-rw-r--r--modules/services/networking/nat.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services/networking/nat.nix b/modules/services/networking/nat.nix
index 89950067a80..50b2590b3be 100644
--- a/modules/services/networking/nat.nix
+++ b/modules/services/networking/nat.nix
@@ -74,7 +74,7 @@ in
 
         preStart =
           ''
-            iptables -t nat -F
+            iptables -t nat -F POSTROUTING
             iptables -t nat -X
 
             iptables -t nat -A POSTROUTING \
@@ -88,7 +88,7 @@ in
 
         postStop =
           ''
-            iptables -t nat -F
+            iptables -t nat -F POSTROUTING
           '';
       };