mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Mention that data going from one internal address to another will
not be processed by natd. Requested by: Ludwig Pummer <ludwigp@bigfoot.com>
This commit is contained in:
parent
1d4f4c0d21
commit
6664883843
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48063
@ -1,5 +1,5 @@
|
||||
.\" manual page [] for natd 1.4
|
||||
.\" $Id: natd.8,v 1.17 1999/04/08 23:15:31 eivind Exp $
|
||||
.\" $Id: natd.8,v 1.18 1999/05/13 16:58:30 brian Exp $
|
||||
.Dd 15 April 1997
|
||||
.Os FreeBSD
|
||||
.Dt NATD 8
|
||||
@ -129,17 +129,24 @@ If remotePORT is specified, it must match the size of targetPORT, or be 0
|
||||
(all ports).
|
||||
For example, the argument
|
||||
|
||||
.Ar tcp inside1:telnet 6666
|
||||
.Dl Ar tcp inside1:telnet 6666
|
||||
|
||||
means that tcp packets destined for port 6666 on this machine will
|
||||
means that incoming tcp packets destined for port 6666 on this machine will
|
||||
be sent to the telnet port on the inside1 machine.
|
||||
|
||||
.Ar tcp inside2:2300-2399 3300-3399
|
||||
.Dl Ar tcp inside2:2300-2399 3300-3399
|
||||
|
||||
will redirect incoming connections on ports 3300-3399 to host
|
||||
inside2, ports 2300-2399.
|
||||
The mapping is 1:1 meaning port 3300 maps to 2300, 3301 maps to 2301, etc.
|
||||
|
||||
.Pp
|
||||
It should be noted that only
|
||||
.Em incoming
|
||||
packets are affected. Data going from one internal network to another
|
||||
will not be processed by
|
||||
.Nm natd .
|
||||
|
||||
.It Fl redirect_address Ar localIP publicIP
|
||||
Redirect traffic for public IP address to a machine on the local
|
||||
network. This function is known as "static NAT". Normally static NAT
|
||||
|
Loading…
Reference in New Issue
Block a user