I've tried setting a ftp server in proftpd but the problem was that remote users couldn't connect to my machine. The funny thing is that i could login to my ftp without problem. Is it sth with permissions or network configuration???
what sort of rules is your firewall using?
perhaps it is refusing incoming connections on port 21?
Do you connect directly into your cable/dsl modem? or do you go through a NAT/router?
i had a similar problem. my computer is behind a nat router.
i could connect to my ftp server as localhost, but not as the external wan ip address. you need to set up proftpd to use specific ports for pasv mode, and forward those ports through your router.
Add the PassivePorts line to your /etc/proftpd.conf
# Port 21 is the standard FTP port. Port 21 PassivePorts 50000 50100
The passive ports can be any range you want. The range needs to be at least as large as the number of connections you want to allow. 100 should be enough for a personal server.
I emailed my admin and it turned out that all the computers in our network are invisible to the external machines. It's a wireless network, all computers have their local ip's e.g.(192.168.0.113) and they connect to the main station that provides internet connection, so the only visible IP is the IP of the main station. I don't know if it's router or NAT or just lack of my individual IP address, but the thing cuts me out from the outside world. So i guess that having my own ftp in this case is impossible... :?
In this case your admin could just set up ip masquerading to make it look as though you do have an IP address...I don't know what kind of network you're on so I don't know if yr admin would do this.
Ftp up and running. I have one question though:
-Is it OK to change the ownership of my ftp dirs this way:
1. (user:ftp,group:ftp by default)
/home/ftp<--for anonymous logins
/home/user_xyz<--user_xyz can login with password and upload stuff to uploads in his ~
The reason behind this is that i'd like to be able to copy stuff from my_regularuser dir to ftp dirs, without gaining root. I don't know if it's the proper way to do this, so let me know if i'm breaking some security rules.
Nevermind, at least it works flawlessly