From eaaeea850f3bdab13b97d2bc94e2eaee5043aeaf Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Mon, 24 Jul 2023 07:02:13 -0300 Subject: T4889: NAT Redirection: adding information that dnat redirection is supported --- docs/configuration/nat/nat44.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/configuration/nat') 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 ====================== -- cgit v1.2.3