summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich2022-09-01 09:31:38 +0000
committerJo-Philipp Wich2022-09-01 09:32:27 +0000
commit695e8211d1d02a2274f4bbf51c9017d4b29b653e (patch)
treeaf87df391a5b95a96d1712f88ecbb4e447120760
parenta4484d4612931800583a7219271b63224491244c (diff)
downloadfirewall4-695e8211d1d02a2274f4bbf51c9017d4b29b653e.tar.gz
doc: fix swapped include positions in nftables.d README
The README swapped the meaning of the `ruleset-pre`/`ruleset-post` and `table-pre`/`table-post` include directories. Ref: https://forum.openwrt.org/t/x/135594/174 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--root/usr/share/nftables.d/README11
1 files changed, 6 insertions, 5 deletions
diff --git a/root/usr/share/nftables.d/README b/root/usr/share/nftables.d/README
index e4aa9f8..4b7eef4 100644
--- a/root/usr/share/nftables.d/README
+++ b/root/usr/share/nftables.d/README
@@ -7,11 +7,11 @@ permissions) with an `*.nft` file extension are considered.
The include position of each file within the overall ruleset is derived
from the file path:
- - Files in ./table-pre/ and ./table-post/ are included before and after
- the `table inet fw4 { ... }` declaration respectively
+ - Files in ./ruleset-pre/ and ./ruleset-post/ are included before and
+ after the `table inet fw4 { ... }` declaration respectively
- - Files in ./ruleset-pre/ and ./ruleset-post/ are included before the
- first chain and after the last chain declaration within the fw4 table
+ - Files in ./table-pre/ and ./table-post/ are included before the first
+ chain and after the last chain declaration within the fw4 table
respectively
- Files in ./chain-pre/${chain}/ and ./chain-post/${chain}/ are included
@@ -19,4 +19,5 @@ from the file path:
the fw4 table respectively
Automatic inclusion of these files can be disabled by setting the global
-`auto_includes` option within the defaults section of /etc/config/firewall.
+`auto_includes` option to `0` within the defaults section of
+/etc/config/firewall.