From owner-freebsd-pf@FreeBSD.ORG Fri Jul 28 23:07:51 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365E916A4E1 for ; Fri, 28 Jul 2006 23:07:51 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id C214143D78 for ; Fri, 28 Jul 2006 23:07:41 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.187.122] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1G6bQe3WTP-000210; Sat, 29 Jul 2006 01:07:37 +0200 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Sat, 29 Jul 2006 01:07:28 +0200 User-Agent: KMail/1.9.3 References: <5540790.post@talk.nabble.com> <20060728124958.opaevzcg04s0gg4s@mail.bafirst.com> In-Reply-To: <20060728124958.opaevzcg04s0gg4s@mail.bafirst.com> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1536157.Gnv5t98K0A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607290107.34701.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: enable passive/active ftp X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 23:07:51 -0000 --nextPart1536157.Gnv5t98K0A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 28 July 2006 19:49, eculp@bafirst.com wrote: > Quoting elmer : > > Hi all, > > > > I am using pf on freebsd6.1. how do I enable ftp passive and active. > > Im following the pfmanual but my users cant establish a connection. > > Is there a debugging for the ftp-proxy? > > IIRC you need to open the following ports for pasive ftp but I could be > wrong. I seldom allow ftp. > > # pass in on $ext_if inet proto tcp from any to ($ext_if) port > 49152:65534 flags S/SA keep state > > I also redirect ftp to a non-priviledged port something like: > > # rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 10021 > > You will need to configure your ftp daemon also and then season to > taste and it should work. Someone please correct me, if I've missed > something. I suggest looking at ftp/pftpx from ports. It is much better than the=20 ftp-proxy we have in base and (iff I finally get round to finishing a new=20 import from OpenBSD) will eventually replace the version in base. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1536157.Gnv5t98K0A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEypi2XyyEoT62BG0RAjERAJ9U33MTfpEYka38I89AXOE1vmHxTgCfcpwy nh4Q3pu4sOQ39baS4GupPSM= =EsvU -----END PGP SIGNATURE----- --nextPart1536157.Gnv5t98K0A--