summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2003-02-04 01:33:25 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2003-02-04 01:33:25 +0000
commit16b3d3546de89ef8943fdfb422af09c1ebeea87f (patch)
tree8f93bae6f39941d885294bd253c4cc001f69dc83
parent1413f7de536670d1f27b41e9633229d8fa13a0e9 (diff)
Notes
-rw-r--r--sbin/ipfw/ipfw.84
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 34e5012a7d5d..6744ab499563 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1212,7 +1212,7 @@ dynamic rule for the flow so that packets belonging to that session
will be allowed through the firewall:
.Pp
.Dl "ipfw add check-state"
-.Dl "ipfw add allow tcp from my-subnet to any setup"
+.Dl "ipfw add allow tcp from my-subnet to any setup keep-state"
.Dl "ipfw add deny tcp from any to any"
.Pp
A similar approach can be used for UDP, where an UDP packet coming
@@ -1220,7 +1220,7 @@ from the inside will install a dynamic rule to let the response through
the firewall:
.Pp
.Dl "ipfw add check-state"
-.Dl "ipfw add allow udp from my-subnet to any"
+.Dl "ipfw add allow udp from my-subnet to any keep-state"
.Dl "ipfw add deny udp from any to any"
.Pp
Dynamic rules expire after some time, which depends on the status