mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-12-16 10:32:02 +01:00
Merge pull request #1048 from nicolas-fort/T4889-NAT-Redirection
T4889: NAT Redirection: adding information that dnat redirection is supported
This commit is contained in:
commit
a54be62dbb
@ -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