aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/natd
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-06-24 10:49:44 +0000
committerBrian Somers <brian@FreeBSD.org>1997-06-24 10:49:44 +0000
commit46b2c55966ceb21c21e82e857bd47a6654e3bb3f (patch)
tree75ececf5c7a63c0ca91a2ff1dc99e32e38329f18 /usr.sbin/natd
parent7367854ebc25725de2087ba8abe2d2570e22fa6c (diff)
downloadsrc-46b2c55966ceb21c21e82e857bd47a6654e3bb3f.tar.gz
src-46b2c55966ceb21c21e82e857bd47a6654e3bb3f.zip
Notes
Diffstat (limited to 'usr.sbin/natd')
-rw-r--r--usr.sbin/natd/natd.89
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/natd/natd.8 b/usr.sbin/natd/natd.8
index db683a73f13a..dbda1c5c1707 100644
--- a/usr.sbin/natd/natd.8
+++ b/usr.sbin/natd/natd.8
@@ -330,13 +330,14 @@ script to taste. If you're not interested in having a firewall, the
following lines will do:
/sbin/ipfw -f flush
- /sbin/ipfw add divert 6668 all from any to any via ed0
+ /sbin/ipfw add divert natd all from any to any via ed0
/sbin/ipfw add pass all from any to any
-The second line depends on your interface and assumes that you've updated
+The second line depends on your interface (change ed0 as appropriate)
+and assumes that you've updated
.Pa /etc/services
-as above. If you specify real firewall rules, it's best to specify
-line 2 at the start of the script so that
+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
sees all packets before they are dropped by the firewall. The firewall
rules will be run again on each packet after translation by