diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-07-24 07:02:13 -0300 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-07-24 07:02:13 -0300 |
commit | eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf (patch) | |
tree | afa2b3fc9ca7f456d6290405c335bbed1de0a0fa /docs | |
parent | 072e1a922639ca11224eb0ca518c0966b43020f8 (diff) | |
download | vyos-documentation-eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf.tar.gz vyos-documentation-eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf.zip |
T4889: NAT Redirection: adding information that dnat redirection is supported
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/nat/nat44.rst | 10 |
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 ====================== |