From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 08:24:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7037B16A400 for ; Fri, 22 Jun 2007 08:24:19 +0000 (UTC) (envelope-from luck@computerking.ca) Received: from shoemasters.com (shoemasters.com [68.144.188.169]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA9413C487 for ; Fri, 22 Jun 2007 08:24:19 +0000 (UTC) (envelope-from luck@computerking.ca) Received: from localhost (localhost.localdomain [127.0.0.1]) by shoemasters.com (Postfix) with ESMTP id 5C6FA7C46E8 for ; Fri, 22 Jun 2007 00:35:39 -0700 (MST) Received: from shoemasters.com ([127.0.0.1]) by localhost (shoemasters.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17986-01 for ; Fri, 22 Jun 2007 00:35:37 -0700 (MST) Received: from shoemasters.com (localhost.localdomain [127.0.0.1]) by shoemasters.com (Postfix) with ESMTP id A07947C46E7 for ; Fri, 22 Jun 2007 00:35:37 -0700 (MST) Message-ID: <21525942.7391182497737308.JavaMail.root@shoemasters.com> Date: Fri, 22 Jun 2007 00:35:37 -0700 (MST) From: "RYAN M. vAN GINNEKEN" To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Jun 22 00:35:38 2007 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 467b7bca208645096218975 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.124 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1, HTML_30_40=0.374, HTML_MESSAGE=0.001] X-Spam-Score: -4.124 X-Spam-Level: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ftp woes 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: Fri, 22 Jun 2007 08:24:19 -0000 Hello all i have been going crazy trying to sort out this ftp problem. I have a server machine that is connected directly to the net i have opened my ipf firewall to accept all connections. At first i thought i did not need ipnat rules becuase this host is not acting as a gateway just a standalone machine. I added these rules to ipnat just to be on the safe side even though i do not have a internal network. # This rule will handle all the traffic for the internal LAN: map xl0 192.168.0.0/16 -> 0/32 proxy port 21 ftp/tcp # This rule handles the FTP traffic from the gateway: map xl0 0.0.0.0/0 -> 0/32 proxy port 21 ftp/tcp # THE RULE THAT FORWARDS EVERTHING map xl0 192.168.0.0/16 -> 0/32 map xl0 192.168.1.0/16 -> 0/32 I tried the default ftpd and lukemftp now i have installed and configured proftpd I can login ok but when i try to do a cd or ls i always get this error ftp new.computerking.ca Connected to new.computerking.ca. 220 ProFTPD 1.3.1rc2 Server (ProFTPD Default Installation) [68.144.1.51] Name (new.computerking.ca:rmvg): computerking 331 Password required for computerking Password: 230 User computerking logged in Remote system type is UNIX. Using binary mode to transfer files. ftp> ls ftp: connect: No route to host ftp> cd (remote-directory) / 250 CWD command successful ftp> ls ftp: connect: No route to host ftp> dir ftp: connect: No route to host ftp> -- Computer King & CaN Mail - Sales Service Hosting Backup http://www.computerking.ca http://www.canmail.org NEW!!! Custom Service Packages Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages