diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-07 17:27:02 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-07 17:27:02 +0800 |
commit | e9fb2f5644ba9fb7a573ba86978d89b6960d7991 (patch) | |
tree | eda56d5c66cfd190a47c45aeeb82889efef1bb66 /ftp/ftp-proxy/pkg-message | |
parent | 93d52b8b435402ff0232fe059f83d67d79ec2cf3 (diff) | |
download | freebsd-ports-gnome-e9fb2f5644ba9fb7a573ba86978d89b6960d7991.tar.gz freebsd-ports-gnome-e9fb2f5644ba9fb7a573ba86978d89b6960d7991.tar.zst freebsd-ports-gnome-e9fb2f5644ba9fb7a573ba86978d89b6960d7991.zip |
A ftp proxy for firewalled connections,using pf's anchors and rules.
WWW: http://www.openbsd.org/
PR: ports/110011
Submitted by: Christian Ludwig
Diffstat (limited to 'ftp/ftp-proxy/pkg-message')
-rw-r--r-- | ftp/ftp-proxy/pkg-message | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ftp/ftp-proxy/pkg-message b/ftp/ftp-proxy/pkg-message new file mode 100644 index 000000000000..00984c94db3a --- /dev/null +++ b/ftp/ftp-proxy/pkg-message @@ -0,0 +1,23 @@ +=================================================================== +To make use of the proxy, pf.conf(5) needs the following rules. All +anchors are mandatory. Adjust the rules as needed. + +In the NAT section: + + nat-anchor "ftp-proxy/*" + rdr-anchor "ftp-proxy/*" + rdr pass on $int_if proto tcp from $lan to any port 21 -> \ + 127.0.0.1 port 8021 + +In the rule section: + + anchor "ftp-proxy/*" + pass out proto tcp from $proxy to any port 21 keep state + +Add the following line to your /etc/rc.conf to enable the proxy on +startup: + + ftpproxy_enable="YES" + +Please consult the man page ftp-proxy(8) for more information. +=================================================================== |