From 027c9daae5c0e6ebb6f3298b7c6ba8115e0a5063 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Fri, 4 Oct 2002 09:37:20 +0000 Subject: use port 8021 in examples inspired by a PR from rjmooney@aboveground.cx ok deraadt@ --- libexec/ftp-proxy/ftp-proxy.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec') 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 . -- cgit v1.2.3