summaryrefslogtreecommitdiff
path: root/etc/nftables.conf
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-06-29 18:59:33 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-06-29 18:59:33 -0700
commitd39ea45565a32a1fbec1520e75a1a434810adebf (patch)
tree31ae35837d68a3eca547af68b8d170904c8d461d /etc/nftables.conf
parent355523696ffb0e3be58e67ff6036732f465f9184 (diff)
update
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r--etc/nftables.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 1beb18c2..85d6a22b 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -6,8 +6,7 @@
# some codes from https://wiki.archlinux.org/title/Nftables
# needed for reload config using `sudo systemctl restart nftables` or `sudo nft -f /etc/nftables.conf`
-table inet my_table
-delete table inet my_table
+flush ruleset
table inet my_table {