From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 12:41:36 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 A086416A420 for ; Tue, 14 Feb 2006 12:41:36 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB4F43D49 for ; Tue, 14 Feb 2006 12:41:35 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by nproxy.gmail.com with SMTP id l37so410179nfc for ; Tue, 14 Feb 2006 04:41:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IIXnfNf+jOR2AzKcBpWBAXnAVw8rBRVFPAcEuewoQTOfGF13xYyS0qagyl+sRP7yydO8DwNZGxnni/xi0u577olwwDGbfEZnDSVFIOgtZbuQGxvPX8HYl0YsbrCTBB46lHKU4tL6hMwMWzb90HEj55mXXRNVIMJzZitIF3DfX7M= Received: by 10.49.5.7 with SMTP id h7mr1252109nfi; Tue, 14 Feb 2006 04:41:32 -0800 (PST) Received: by 10.48.108.10 with HTTP; Tue, 14 Feb 2006 04:41:32 -0800 (PST) Message-ID: <5ceb5d550602140441o2ee7e458j689000550fb87198@mail.gmail.com> Date: Tue, 14 Feb 2006 13:41:32 +0100 From: "Daniel A." To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Cant login to FTP server. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 12:41:36 -0000 Hi, I have some FTP login problems. I run FreeBSD 6.0-RELEASE, and I have ipf and ipnat enabled. _______SNIP_______ Status:=09Connecting to dienub.org ... Status:=09Connected with dienub.org. Waiting for welcome message... Response:=09220 m00h.dienub.org FTP server (Version 6.00LS) ready. Command:=09USER ************** Response:=09331 Password required for alive. Command:=09PASS ************** Response:=09230 User alive logged in. Command:=09FEAT Response:=09500 FEAT: command not understood. Command:=09SYST Response:=09215 UNIX Type: L8 Version: BSD-199506 Status:=09Connected Status:=09Retrieving directory listing... Command:=09PWD Response:=09257 "/usr/home/alive" is current directory. Command:=09TYPE A Response:=09200 Type set to A. Command:=09PASV Response:=09227 Entering Passive Mode (87,49,144,133,237,45) Command:=09LIST Error:=09Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Error:=09Could not retrieve directory listing Command:=09TYPE A _______SNIP_______ /etc/ipf.rules: _______SNIP_______ # Let clients behind the firewall send out to the internet, and replies to # come back in by keeping state. pass out quick on rl0 proto tcp all keep state pass out quick on rl0 proto udp all keep state pass out quick on rl0 proto icmp all keep state # Since nothing should be coming from these address ranges, block them block in quick on rl0 from 192.168.0.0/16 to any block in quick on rl0 from 172.16.0.0/12 to any block in quick on rl0 from 10.0.0.0/8 to any block in quick on rl0 from 127.0.0.0/8 to any block in quick on rl0 from 192.0.2.0/24 to any # Let's let people access the services running behind this system # Let's let people access the services running on this system pass in quick on rl0 proto tcp from any to any port 30000 >< 50000 flags S keep state #PASV FTP pass in quick on rl0 proto tcp from any to any port =3D 21 #FTP pass in quick on rl0 proto tcp from any to any port =3D 22 #SSH pass in quick on rl0 proto tcp from any to any port =3D 80 #WWW pass in quick on rl0 proto tcp from any to any port =3D 113 #oidentd # Steam Dedicated Server #pass in quick on rl0 proto udp from any to any port =3D 1200 # Friends net= work #pass in quick on rl0 proto udp from any to any port 26999 >< 27016 # Gamep= ort #pass in quick on rl0 proto udp from any to any port =3D 27020 #pass in quick on rl0 proto tcp from any to any port 27029 >< 27040 #pass in quick on rl0 proto tcp from any to any port =3D 27015 # SRCDS Rcon # Block everything else block in quick on rl0 all _______SNIP_______ /etc/ipnat.rules _______SNIP_______ map rl0 192.168.0.0/16 -> 0.0.0.0/32 proxy port ftp ftp/tcp map rl0 192.168.0.0/16 -> 0.0.0.0/32 portmap tcp/udp 1025:65000 map rl0 192.168.0.0/16 -> 0.0.0.0/32 _______SNIP_______ Might the problem be anywhere else besides my ipf and ipnat configs? Could it be the remote client that's the problem?