From owner-freebsd-questions@FreeBSD.ORG Sat Feb 4 21:21:01 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EB8E16A420 for ; Sat, 4 Feb 2006 21:21:01 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E83543D48 for ; Sat, 4 Feb 2006 21:20:52 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060204212052.NGLF7811.mta11.adelphia.net@barbish>; Sat, 4 Feb 2006 16:20:52 -0500 From: "fbsd_user" To: "Kristian Vaaf" , Date: Sat, 4 Feb 2006 16:20:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Cc: Subject: RE: ftpd: Passive mode isn't working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 21:21:01 -0000 Saying ftp is not working, is not enough of a description. Give details of how you are testing ftp to say its not working. In /etc/inetd.conf the tcp6 is for a experimental protocol, if you are not using it on purpose then those statements should be commented out so they are not active. You should also comment out the ftp-proxy until you have ftp working. Turn off your firewall during ftp testing. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Kristian Vaaf Sent: Saturday, February 04, 2006 8:58 AM To: questions@freebsd.org Subject: ftpd: Passive mode isn't working Hello! Somehow my passive mode isn't working. # cat /etc/inetd.conf ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 -d vaaf auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 -d vaaf ircd stream tcp nowait nobody /usr/local/sbin/bitlbee bitlbee # cat /etc/pf.conf int_if="ep0" ext_if="rl0" set block-policy drop scrub in all nat on $ext_if from $int_if:network to any -> ($ext_if) rdr on $int_if proto tcp from any to any \ port 21 -> 127.0.0.1 port 8021 rdr on $ext_if proto tcp from any to any \ port 50000 -> 192.168.187.2 port 50000 block drop log all pass quick on { lo0 $int_if } pass out on $ext_if inet proto { tcp, udp, icmp } \ from any to any keep state pass in on $ext_if proto icmp \ from any to any pass in on $ext_if inet proto { tcp, udp } \ from any to ($ext_if) port 53 pass out on $ext_if inet proto { tcp, udp } \ from any port 53 to any pass out on $ext_if inet proto udp \ from any to any port 123 keep state pass in on $ext_if inet proto tcp \ from any to ($ext_if) port { 21, 22, 25, 80, 110, 113, 143 } \ flags S/SA keep state pass in on $ext_if inet proto tcp \ from any port 20 to ($ext_if) user proxy flags S/SA keep state pass in on $ext_if proto tcp \ from any to any port 31337 keep state pass in on $ext_if proto tcp \ from any to any port 50000 keep state pass in on $ext_if proto tcp \ from any to any port 53333:55555 keep state I hope somebody can tell what's wrong. All the peace, Vaaf _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"