summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {