aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-01-29 00:40:41 +0000
committerBrian Somers <brian@FreeBSD.org>1998-01-29 00:40:41 +0000
commitf7d1db72cfa5e753a275335de8f6d6ff01e032ee (patch)
treea9e41e5c70dc24ea546d5d5474d0923b355ff4f9 /usr.sbin
parentbbc4f6d52651782c4d68aacedcd45da1999e0dd6 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/natd/natd.823
1 files changed, 21 insertions, 2 deletions
diff --git a/usr.sbin/natd/natd.8 b/usr.sbin/natd/natd.8
index 8aeb3124e53b..4389afc90d6d 100644
--- a/usr.sbin/natd/natd.8
+++ b/usr.sbin/natd/natd.8
@@ -214,7 +214,23 @@ as the alias address. If this option is not specified, the
.Fl n
or
.Fl interface
-option must be used.
+option must be used. The specified address should be the address assigned
+to the public network interface.
+.Pp
+All data passing out through this addresses interface will be rewritten
+with a source address equal to
+.Ar address .
+All data arriving at the interface from outside will be checked to
+see if it matches any already-aliased outgoing connection. If it does,
+the packet is altered accordingly. If not, all
+.Fl redirect_port
+and
+.Fl redirect_address
+assignments are checked and actioned. If no other action can be made,
+and if
+.Fl deny_incoming
+is not specified, the packet is delivered to the local machine and port
+as specified in the packet.
.It Fl n | interface Ar interface
Use
@@ -229,7 +245,10 @@ flag should also be used. If this option is not specified, the
or
.Fl alias_address
flag must be used.
-
+.Pp
+The specified
+.Ar interface
+must be the public network interface.
.It Fl f | config Ar configfile
Read configuration from
.Ar configfile .