proftpd Help
Amazingly, I set this thing up, and I can log in on the ftp machine by typing in:
ftp localhost So that works. But I have a few questions. 1) if my ipaddress is 66.222.XXX.XXX, what would I type into a browser window on a remote computer to access the FTP? I tried ftp://localhost.66.222.XXX.XXX/ But it doesn't work. So what would I have to type? 2) How do I add users, and where are their passwords located? 3) I know I put the files to FTP somewhere in /var. But I don't know which folder? I'm running the ftp on slack 9.1 -Thanks in advance:study: |
For the IP, just leave "localhost" out of it. The "ftp" prefix tells a browser to use the FTP protocol. If you're using an FTP client program, just "connect 66.222.XXX.XXX" should do the trick.
Add users via the Mandrake Control Center; they'll be users for your entire Linux system, not just for FTP. You can create subdirectories under /var/ftp and put your files there. When I installed proftpd, it automatically created a /var/ftp/pub directory; that would be a good place to put files to be downloaded by your users. I created /var/ftp/incoming and modified the proftpd.conf file to prohibit listing of the directory, and also prohibit downloading from it. This makes it extremely difficult if not impossible for anyone to use my server as a warez repository. I can see what's in "incoming" and if it's something I want to make available to the world at large, I move it over to "pub" and set the file permissions on it. Security on an FTP server is critical. While proftpd does not have the EXEC command (which would allow anyone to execute any command on your system), it's still possible for people to do evil things with it. I'd make the permissions on the "pub" directory 555 (no write permission except for the root user) and those on "incoming" 333 (no read permission except for root)... You didn't ask, but you'll need to open TCP ports 20 and 21 at your router, to let the outside world get through to your server, just as you had to open 80-83 to let Apache users get in... |
ok first...go to this HOWTO written by MasterC and you should be able to get some of your answers from there...
as of the address, it will simply be ftp://IPADDRESS, do not include localhost...if you want to log in directly without prompt of a password then you will type : ftp://USERNAME:PASSWORD@IPADDRESS:PORT |
Thanks, you two :)
I'll see if I can get it up. Cross your fingers :cool: |
Alright...something strange.
I can log in as the lan address ftp://192.168.1.25 but not the actual ip ftp://66.222.XXX.XXX which results in a timeout. Of course, this is on a seperate computer, connected to the internet through the same lan. Any ideas? EDIT:: Ports 80 - 83, 403 - 403 and 20 - 21 and forwarded, along with some other high numbers. |
Ok -- another weird thing..
Since I'm an administrator at a message board, we get to see IP's. Mine said 66.XXX.XXX.XXX Anyways, I just checked the ip of both computers on the lan using ipchicken and some other services, and they end up with the exact same address - 142.XXX.XXX.XXX Entering the ftp://142 address in the other lan computer still results in a timeout error. Whats this supposed to mean? Is it my router? |
For any other machine on your LAN, use the 192.168.1.25 address. For a machine that's not on the LAN but has an internet connection, use the same IP address that works with your web server. This may be the 66.x.x.x, or the 142.x.x.x one; if you're on PPPoE or DHCP service from your ISP, the external IP address may vary at any time...
|
All times are GMT -5. The time now is 04:42 PM. |