summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorsysteembeheerder <19684880+systeembeheerder@users.noreply.github.com>2023-04-24 13:36:14 +0200
committerGitHub <noreply@github.com>2023-04-24 13:36:14 +0200
commit6e1189cead232b8d720a39882469fd2c368c8dcc (patch)
treeb7b227572d4fe857cd505c76277b7519a071d067 /docs/configuration
parentacd3cecea5f5f112625c50dc1389b231e831b936 (diff)
downloadvyos-documentation-6e1189cead232b8d720a39882469fd2c368c8dcc.tar.gz
vyos-documentation-6e1189cead232b8d720a39882469fd2c368c8dcc.zip
Update index.rst
add example of negated address group. Per https://forum.vyos.io/t/best-way-to-negate-a-address-group-match/9019/3
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/firewall/index.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/configuration/firewall/index.rst b/docs/configuration/firewall/index.rst
index c2e584a3..ef41f198 100644
--- a/docs/configuration/firewall/index.rst
+++ b/docs/configuration/firewall/index.rst
@@ -357,7 +357,11 @@ There are a lot of matching criteria against which the package can be tested.
.. cfgcmd:: set firewall ipv6-name <name> rule <1-999999> destination group
address-group <name>
- Use a specific address-group
+ Use a specific address-group. Thes can also be "negated" using '!'. For Example
+
+ .. code-block:: none
+
+ set firewall name WAN-IN-v4 rule 20 source group address-group '!TRUSTED-HOSTS'
.. cfgcmd:: set firewall name <name> rule <1-999999> source group
network-group <name>