summaryrefslogtreecommitdiff
path: root/docs/configuration/firewall/global-options.rst
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-12-26 08:55:02 -0300
committerNicolas Fort <nicolasfort1988@gmail.com>2023-12-26 08:55:02 -0300
commit0c5e77aea59cbb50af527c59770584d232c97f52 (patch)
tree9c9129bd21d477f5423e238d64b5134ad1c92207 /docs/configuration/firewall/global-options.rst
parent4144d78284b21ead1b596e0c0065d60f1546d7cb (diff)
downloadvyos-documentation-0c5e77aea59cbb50af527c59770584d232c97f52.tar.gz
vyos-documentation-0c5e77aea59cbb50af527c59770584d232c97f52.zip
Add configuration commands and brief example of firewall Flowtables. Also re-add commands for firewall state policies, which now can eb found under <global-options> section
Diffstat (limited to 'docs/configuration/firewall/global-options.rst')
-rw-r--r--docs/configuration/firewall/global-options.rst34
1 files changed, 32 insertions, 2 deletions
diff --git a/docs/configuration/firewall/global-options.rst b/docs/configuration/firewall/global-options.rst
index 316e0802..455e530b 100644
--- a/docs/configuration/firewall/global-options.rst
+++ b/docs/configuration/firewall/global-options.rst
@@ -1,4 +1,4 @@
-:lastproofread: 2023-11-07
+:lastproofread: 2023-12-026
.. _firewall-global-options-configuration:
@@ -114,4 +114,34 @@ Configuration
Enable or Disable VyOS to be :rfc:`1337` conform.
The following system parameter will be altered:
- * ``net.ipv4.tcp_rfc1337`` \ No newline at end of file
+ * ``net.ipv4.tcp_rfc1337``
+
+.. cfgcmd:: set firewall global-options state-policy established action
+ [accept | drop | reject]
+
+.. cfgcmd:: set firewall global-options state-policy established log
+
+.. cfgcmd:: set firewall global-options state-policy established log-level
+ [emerg | alert | crit | err | warn | notice | info | debug]
+
+ Set the global setting for an established connection.
+
+.. cfgcmd:: set firewall global-options state-policy invalid action
+ [accept | drop | reject]
+
+.. cfgcmd:: set firewall global-options state-policy invalid log
+
+.. cfgcmd:: set firewall global-options state-policy invalid log-level
+ [emerg | alert | crit | err | warn | notice | info | debug]
+
+ Set the global setting for invalid packets.
+
+.. cfgcmd:: set firewall global-options state-policy related action
+ [accept | drop | reject]
+
+.. cfgcmd:: set firewall global-options state-policy related log
+
+.. cfgcmd:: set firewall global-options state-policy related log-level
+ [emerg | alert | crit | err | warn | notice | info | debug]
+
+ Set the global setting for related connections.