diff options
| author | Adam Schultz <adam.schultz@live.com> | 2025-11-25 10:25:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 15:25:13 +0000 |
| commit | 279d3d4edcfbad86a30acaee8eab22bf0abc0172 (patch) | |
| tree | 6250c10cd9174859c1c5bd6948f6fe030b2c040e /docs/configuration | |
| parent | 2355b54255dd93fcfe2af834f42f1be8c077c9da (diff) | |
| download | vyos-documentation-279d3d4edcfbad86a30acaee8eab22bf0abc0172.tar.gz vyos-documentation-279d3d4edcfbad86a30acaee8eab22bf0abc0172.zip | |
firewall: T7739: Default ruleset for firewall zones (#1714)
Adds new syntax documentation for https://github.com/vyos/vyos-1x/pull/4672
Diffstat (limited to 'docs/configuration')
| -rw-r--r-- | docs/configuration/firewall/zone.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/configuration/firewall/zone.rst b/docs/configuration/firewall/zone.rst index 836d29fc..fde6c162 100644 --- a/docs/configuration/firewall/zone.rst +++ b/docs/configuration/firewall/zone.rst @@ -139,7 +139,7 @@ Applying a Rule-Set to a Zone Once a rule-set has been defined, it can then be applied to the source and destination zones. The configuration syntax is anchored on the destination -zone, with each of the source zone rulesets listed against the destination. +zone, with each of the source zone rule-sets listed against the destination. .. cfgcmd:: set firewall zone <Destination Zone> from <Source Zone> firewall name <ipv4-rule-set-name> @@ -154,6 +154,21 @@ It is recommended to create two rule-sets for each source-destination zone pair. set firewall zone DMZ from LAN firewall name LAN-DMZ-v4 set firewall zone LAN from DMZ firewall name DMZ-LAN-v4 +Applying a Default Rule-Set to a Zone +===================================== + +When a destination zone shares a common rule-set for multiple source zones or +a complex set of default policies are required, an optional default rule-set +can be applied. The default rule-set applies to all zones that do not have a +rule-set configured as defined in +:ref:`IPv4<configuration/firewall/zone:Applying a Rule-Set to a Zone>` + +.. cfgcmd:: set firewall zone <Destination Zone> default-firewall name + <ipv4-rule-set-name> + +.. cfgcmd:: set firewall zone <Destination Zone> default-firewall ipv6-name + <ipv6-rule-set-name> + ************** Operation-mode ************** |
