Date: Fri, 22 Jun 2007 00:35:37 -0700 (MST) From: "RYAN M. vAN GINNEKEN" <luck@computerking.ca> To: freebsd-questions@freebsd.org Subject: ftp woes Message-ID: <21525942.7391182497737308.JavaMail.root@shoemasters.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21525942.7391182497737308.JavaMail.root>