summaryrefslogtreecommitdiffstats
path: root/sbin/natd/natd.8
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-10-02 11:43:33 +0000
committercharnier <charnier@FreeBSD.org>1997-10-02 11:43:33 +0000
commit473db3cc328e1f7d4b147a40e2ec7826f6ed9157 (patch)
tree25b406221b8e6faee8557176975d8387c8f44a31 /sbin/natd/natd.8
parentf0fb08b13f8d4c949bf3c9c2854b1e994b9ad19d (diff)
downloadFreeBSD-src-473db3cc328e1f7d4b147a40e2ec7826f6ed9157.zip
FreeBSD-src-473db3cc328e1f7d4b147a40e2ec7826f6ed9157.tar.gz
Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
Diffstat (limited to 'sbin/natd/natd.8')
-rw-r--r--sbin/natd/natd.812
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/natd/natd.8 b/sbin/natd/natd.8
index f99842b..bf894eb 100644
--- a/sbin/natd/natd.8
+++ b/sbin/natd/natd.8
@@ -166,11 +166,11 @@ If the
or
.Fl interface
option is used,
-.Nm natd
+.Nm
will monitor the routing socket for alterations to the
.Ar interface
passed. If the interfaces IP number is changed,
-.Nm natd
+.Nm
will dynamically alter its concept of the alias address.
.It Fl i | inport Ar inport
@@ -313,13 +313,13 @@ flag.
.El
.Pp
Running
-.Nm natd
+.Nm
is fairly straight forward. The line
natd -interface ed0
should suffice in most cases (substituting the correct interface name). Once
-.Nm natd
+.Nm
is running, you must ensure that traffic is diverted to natd:
.Bl -enum
@@ -338,7 +338,7 @@ and assumes that you've updated
.Pa /etc/services
with the natd entry as above. If you specify real firewall rules, it's
best to specify line 2 at the start of the script so that
-.Nm natd
+.Nm
sees all packets before they are dropped by the firewall. The firewall
rules will be run again on each packet after translation by
.Nm natd ,
@@ -347,7 +347,7 @@ minus any divert rules.
.It
Enable your firewall by setting
- firewall=YES
+ firewall_enable=YES
in
.Pa /etc/rc.conf .
OpenPOWER on IntegriCloud