Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use VSFTPD (ubuntu server) do manage files on my dedicated server. For security reasons, I'd like to allow to connect use FTP only for couple specified ips. Is it possible to do? I was googling, but I haven't found anything that could help me.


share|improve this question

Google how to use IP tables. You can use the firewall to only allow connections on that port for specific IP's; your FTP server won't have anything to do with blocking them and your firewall will handle the work it's best suited to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.