Mention the ipf mode in more places, xref pf.conf(5) or ipnat.conf(5)
when speaking about the configuration file commands. Bump date.
This commit is contained in:
parent
7fa608457b
commit
cac90c847b
18
dist/pf/libexec/ftp-proxy/ftp-proxy.8
vendored
18
dist/pf/libexec/ftp-proxy/ftp-proxy.8
vendored
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: ftp-proxy.8,v 1.9 2006/11/12 06:24:08 christos Exp $
|
||||
.\" $NetBSD: ftp-proxy.8,v 1.10 2007/11/12 17:14:28 pavel Exp $
|
||||
.\" $OpenBSD: ftp-proxy.8,v 1.42 2004/11/19 00:47:23 jmc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996-2001
|
||||
@ -28,7 +28,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd November 12, 2006
|
||||
.Dd November 12, 2007
|
||||
.Dt FTP-PROXY 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -68,10 +68,14 @@
|
||||
is a proxy for the Internet File Transfer Protocol.
|
||||
The proxy uses
|
||||
.Xr pf 4
|
||||
or
|
||||
.Xr ipnat 4
|
||||
and expects to have the FTP control connection as described in
|
||||
.Xr services 5
|
||||
redirected to it via a
|
||||
.Xr pf 4
|
||||
.Xr pf.conf 5
|
||||
or
|
||||
.Xr ipnat.conf 5
|
||||
.Em rdr
|
||||
command.
|
||||
An example of how to do that is further down in this document.
|
||||
@ -124,7 +128,9 @@ uses the default group of the user it drops privilege to.
|
||||
.It Fl i
|
||||
Set
|
||||
.Nm ftp-proxy
|
||||
for use with IP-Filter.
|
||||
for use with the
|
||||
.Xr ipnat 4
|
||||
part of IP-Filter.
|
||||
.It Fl M Ar maxport
|
||||
Specify the upper end of the port range the proxy will use for the
|
||||
data connections it establishes.
|
||||
@ -233,7 +239,9 @@ is run from
|
||||
and requires that FTP connections are redirected to it using a
|
||||
.Em rdr
|
||||
rule.
|
||||
A typical way to do this would be to use either an ipnat rule such as
|
||||
A typical way to do this would be to use either an
|
||||
.Xr ipnat.conf 5
|
||||
rule such as
|
||||
.Bd -literal -offset 2n
|
||||
int_if = \&"xl0\&";
|
||||
rdr $int_if 0/0 port 21 -\*[Gt] 127.0.0.1 port 8021 tcp
|
||||
|
Loading…
Reference in New Issue
Block a user