diff --git a/system/base/nftables/templates/nftables.conf b/system/base/nftables/templates/nftables.conf index de5e8d8..84a8133 100755 --- a/system/base/nftables/templates/nftables.conf +++ b/system/base/nftables/templates/nftables.conf @@ -1,6 +1,7 @@ #!/usr/sbin/nft -f table inet main_inet +flush table inet main_inet delete table inet main_inet table inet main_inet { diff --git a/vpn/bridge/templates/nftables/down.nft b/vpn/bridge/templates/nftables/down.nft index 2431485..d22e477 100644 --- a/vpn/bridge/templates/nftables/down.nft +++ b/vpn/bridge/templates/nftables/down.nft @@ -1,8 +1,11 @@ +table ip6 ${IFACE}_ipv6 flush table ip6 ${IFACE}_ipv6 delete table ip6 ${IFACE}_ipv6 +table ip ${IFACE}_ipv4 flush table ip ${IFACE}_ipv4 delete table ip ${IFACE}_ipv4 +table inet ${IFACE}_inet flush table inet ${IFACE}_inet delete table inet ${IFACE}_inet diff --git a/vpn/wireguard/templates/nftables/down.nft b/vpn/wireguard/templates/nftables/down.nft index fb72e3a..202ed11 100644 --- a/vpn/wireguard/templates/nftables/down.nft +++ b/vpn/wireguard/templates/nftables/down.nft @@ -1,4 +1,5 @@ #!/usr/bin/env -S nft -f +table inet ${IFACE}_inet flush table inet ${IFACE}_inet delete table inet ${IFACE}_inet