mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
T4889: NAT Redirection: adding information that dnat redirection is supported
This commit is contained in:
parent
072e1a9226
commit
eaaeea850f
@ -273,6 +273,16 @@ Example:
|
|||||||
set nat destination rule 10 translation address 192.0.2.10
|
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
|
Configuration Examples
|
||||||
======================
|
======================
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user