komy
Joined: 13 Aug 2003
Posts: 27
|
| Posted: Thu Sep 18, 2003 3:52 pm Post subject: proftpd question |
|
|
Hi,
I am running proftpd on my debain install. From my log, I see once awhile, people are trying to login to my ftp server from variuos ip address.
I am running the ftp just for personal use, disallowed anonymous login already and have the login error out as quick as possible.
I am new to linux, and I would like to know what is the best way to prevent people to try logging into or "test" my ftp server? Or put in the other way, what is the correct way to prevent such act or to protect the ftp server.
Thanks,
Kevin |
|
rhashimoto
Joined: 13 Aug 2003
Posts: 55
|
| Posted: Thu Sep 18, 2003 4:13 pm Post subject: |
|
|
Using sftp (which should already work on the default Debian distribution) instead of ftp would be the most secure alternative, as it should be just as secure as ssh.
If you must use ftp, you can restrict access to certain IPs by using iptables or /etc/hosts.allow.
Roy |
|