summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-12-07 20:36:18 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-12-07 20:36:18 +0000
commit0dbb2a440349931bf1f205e2c4c58a2079f9cd52 (patch)
treebd976d8d09184a06a17845d8b893ffaf47fc16be
parent9eafc9f1483792ef079e35548ec14a04255556d7 (diff)
add example for ftp-proxy data connections, to reduce some of the questions
on misc@. ok dhartmei@
-rw-r--r--share/man/man5/pf.conf.58
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 60034733875..0db1d6a94ff 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.27 2001/11/26 16:51:13 jasoni Exp $
+.\" $OpenBSD: pf.conf.5,v 1.28 2001/12/07 20:36:17 beck Exp $
.\"
.\" Copyright (c) 2001, Daniel Hartmeier
.\" All rights reserved.
@@ -499,6 +499,12 @@ pass out on $ext_if proto tcp all modulate state
# pass in certain TCP connections and keep state (SSH, SMTP, DNS, IDENT)
pass in on $ext_if proto tcp from any to any port { ssh, smtp, domain, \\
auth } keep state
+
+# pass in data mode connections for ftp-proxy running on this host.
+# (see ftp-proxy(8) for details)
+pass in on $ext_if proto tcp from any to 157.161.48.183 port >= 41952 \\
+ keep state
+
.Ed
.Sh FILES
.Bl -tag -width "/etc/pf.conf" -compact