summaryrefslogtreecommitdiffstats
path: root/sbin/natd/natd.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-06-29 09:52:14 +0000
committerru <ru@FreeBSD.org>2000-06-29 09:52:14 +0000
commit38b5153ff97b549269285451c58fc4a65720ecce (patch)
treedf4b1020f82a241743f5bd95a422554aa09e099c /sbin/natd/natd.8
parent73c76eae0316df6a025d36268074d6a873aaf55e (diff)
downloadFreeBSD-src-38b5153ff97b549269285451c58fc4a65720ecce.zip
FreeBSD-src-38b5153ff97b549269285451c58fc4a65720ecce.tar.gz
"Ease understanding" of how -punch_fw works.
Reviewed by: sheldonh
Diffstat (limited to 'sbin/natd/natd.8')
-rw-r--r--sbin/natd/natd.820
1 files changed, 11 insertions, 9 deletions
diff --git a/sbin/natd/natd.8 b/sbin/natd/natd.8
index 60cf31c..81d418a 100644
--- a/sbin/natd/natd.8
+++ b/sbin/natd/natd.8
@@ -416,21 +416,23 @@ to inject the data into the beginning of the TCP stream.
.It Fl punch_fw Xo
.Ar basenumber Ns : Ns Ar count
.Xc
-This option makes
+This option directs
.Nm
-.Ql punch holes
+to
+.Dq punch holes
in an
.Xr ipfirewall 4
based firewall for FTP/IRC DCC connections.
-The holes punched are bound by from/to IP address and port; it
-will not be possible to use a hole for another connection.
-A hole is removed when the connection that uses it dies.
+This is done dynamically by installing temporary firewall rules which
+allow a particular connection (and only that connection) to go through
+the firewall.
+The rules are removed once the corresponding connection terminates.
.Pp
-Arguments
-.Ar basenumber
-and
+A maximum of
.Ar count
-set the firewall range allocated for punching firewall holes.
+rules starting from the rule number
+.Ar basenumber
+will be used for punching firewall holes.
The range will be cleared for all rules on startup.
.El
.Sh RUNNING NATD
OpenPOWER on IntegriCloud