summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-10-04 09:37:20 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-10-04 09:37:20 +0000
commit027c9daae5c0e6ebb6f3298b7c6ba8115e0a5063 (patch)
tree4e92a3b17e3c139997710e51a89aeb04e49693c9 /libexec
parent7b377c732d26a197ab810f76b61dadf31a13389c (diff)
use port 8021 in examples
inspired by a PR from rjmooney@aboveground.cx ok deraadt@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftp-proxy/ftp-proxy.86
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftp-proxy/ftp-proxy.8 b/libexec/ftp-proxy/ftp-proxy.8
index 88b198287eb..6f0ece66e1a 100644
--- a/libexec/ftp-proxy/ftp-proxy.8
+++ b/libexec/ftp-proxy/ftp-proxy.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp-proxy.8,v 1.22 2002/10/04 02:47:28 deraadt Exp $
+.\" $OpenBSD: ftp-proxy.8,v 1.23 2002/10/04 09:37:19 henning Exp $
.\"
.\" Copyright (c) 1996-2001
.\" Obtuse Systems Corporation, All rights reserved.
@@ -161,7 +161,7 @@ and requires that FTP connections are redirected to it using a
rule.
A typical way to do this would be to use a rule such as
.Pp
-rdr on xl0 from any to any port 21 -> 127.0.0.1 port 2021
+rdr on xl0 from any to any port 21 -> 127.0.0.1 port 8021
.Pp
in
.Xr pf.conf 5
@@ -171,7 +171,7 @@ must then be configured to run
.Nm ftp-proxy
on the port from above using
.Pp
-127.0.0.1:2021 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy
+127.0.0.1:8021 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy
.Pp
in
.Xr inetd.conf 5 .