summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/nat/index.rst8
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