summaryrefslogtreecommitdiff
path: root/docs/configuration/nat/nat44.rst
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-07-24 07:02:13 -0300
committerNicolas Fort <nicolasfort1988@gmail.com>2023-07-24 07:02:13 -0300
commiteaaeea850f3bdab13b97d2bc94e2eaee5043aeaf (patch)
treeafa2b3fc9ca7f456d6290405c335bbed1de0a0fa /docs/configuration/nat/nat44.rst
parent072e1a922639ca11224eb0ca518c0966b43020f8 (diff)
downloadvyos-documentation-eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf.tar.gz
vyos-documentation-eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf.zip
T4889: NAT Redirection: adding information that dnat redirection is supported
Diffstat (limited to 'docs/configuration/nat/nat44.rst')
-rw-r--r--docs/configuration/nat/nat44.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configuration/nat/nat44.rst b/docs/configuration/nat/nat44.rst
index b2ba61af..3a73d444 100644
--- a/docs/configuration/nat/nat44.rst
+++ b/docs/configuration/nat/nat44.rst
@@ -273,6 +273,16 @@ Example:
set nat destination rule 10 translation address 192.0.2.10
+Also, in :ref:`destination-nat`, redirection to localhost is supported.
+The redirect statement is a special form of dnat which always translates
+the destination address to the local host’s one.
+
+Example of redirection:
+
+.. code-block:: none
+
+ set nat destination rule 10 translation redirect port 22
+
Configuration Examples
======================