summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-07-24 21:31:52 +0200
committerGitHub <noreply@github.com>2023-07-24 21:31:52 +0200
commita54be62dbb9e8b18d86f79aeef40ce4dc0b62e04 (patch)
treed95d249ebac3457d53ad547ecbe3bc69e51143b1
parentd1e55008d3e70ee512bb34d279f9492b7c066564 (diff)
parenteaaeea850f3bdab13b97d2bc94e2eaee5043aeaf (diff)
downloadvyos-documentation-a54be62dbb9e8b18d86f79aeef40ce4dc0b62e04.tar.gz
vyos-documentation-a54be62dbb9e8b18d86f79aeef40ce4dc0b62e04.zip
Merge pull request #1048 from nicolas-fort/T4889-NAT-Redirection
T4889: NAT Redirection: adding information that dnat redirection is supported
-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
======================