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-07-02 19:12:54 -0700
commit1792ea47bec5f49cc2b05e4117ba72cb9261e28d (patch)
tree3558931388e83061d505fcf2d52c302dc7432757 /etc/nftables.conf
parent4b312925cd4948f9db3a404dfde51fd29c465866 (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 e838fe0e..55abc03c 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 {