diff options
author | rebortg <github@ghlr.de> | 2020-12-11 15:23:01 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2020-12-11 15:23:01 +0100 |
commit | 4cc8f6785a521a4d39599977f77295880c259747 (patch) | |
tree | 6d081aa39162523dc9212e5c3ba2d69a88b4013e /docs/configuration/nat | |
parent | 5159bb1dffac9d55e80b417284136d9ca897fb30 (diff) | |
download | vyos-documentation-4cc8f6785a521a4d39599977f77295880c259747.tar.gz vyos-documentation-4cc8f6785a521a4d39599977f77295880c259747.zip |
nat: fix lint errors
Diffstat (limited to 'docs/configuration/nat')
-rw-r--r-- | docs/configuration/nat/index.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/nat/index.rst b/docs/configuration/nat/index.rst index 5aeffb63..f0f5bd6a 100644 --- a/docs/configuration/nat/index.rst +++ b/docs/configuration/nat/index.rst @@ -173,8 +173,8 @@ rule. set nat destination rule 20 inbound-interface eth1 * **protocol** - specify which types of protocols this translation rule - applies to. Only packets matching the specified protocol are NATed. By default this - applies to `all` protocols. + applies to. Only packets matching the specified protocol are NATed. + By default this applies to `all` protocols. Example: @@ -194,13 +194,13 @@ rule. * Set SNAT rule 20 to only NAT packets arriving from the 192.0.2.0/24 network - * Set SNAT rule 30 to only NAT packets arriving from the 192.0.3.0/24 + * Set SNAT rule 30 to only NAT packets arriving from the 203.0.113.0/24 network with a source port of 80 and 443 .. code-block:: none set nat source rule 20 source address 192.0.2.0/24 - set nat source rule 30 source address 192.0.3.0/24 + set nat source rule 30 source address 203.0.113.0/24 set nat source rule 30 source port 80,443 |