summaryrefslogtreecommitdiff
path: root/data/templates/firewall/nftables-nat.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-24 09:44:24 +0100
committerGitHub <noreply@github.com>2021-01-24 09:44:24 +0100
commit1afd7568adb6e5c8823a533c4c20892177584959 (patch)
tree76abbc073fb8b3381b41f5598aa70cb30a66dfe9 /data/templates/firewall/nftables-nat.tmpl
parent6baf79a72cac9e6624d56b140511c32fad2cfbaa (diff)
parente5388766529756a0d1ec58f0ecfad456ce28c96c (diff)
downloadvyos-1x-1afd7568adb6e5c8823a533c4c20892177584959.tar.gz
vyos-1x-1afd7568adb6e5c8823a533c4c20892177584959.zip
Merge pull request #520 from jack9603301/nptv6
nptv6: T2518: Initial support for nat66 (NPT)
Diffstat (limited to 'data/templates/firewall/nftables-nat.tmpl')
-rw-r--r--data/templates/firewall/nftables-nat.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/firewall/nftables-nat.tmpl b/data/templates/firewall/nftables-nat.tmpl
index 5480447f2..499733225 100644
--- a/data/templates/firewall/nftables-nat.tmpl
+++ b/data/templates/firewall/nftables-nat.tmpl
@@ -118,7 +118,7 @@
{% endmacro %}
# Start with clean NAT table
-flush table nat
+flush table ip nat
{% if helper_functions == 'remove' %}
{# NAT if going to be disabled - remove rules and targets from nftables #}
{% set base_command = 'delete rule ip raw' %}