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'm looking for a way to configure vsftpd to use multiple listen_address IPs. I'm aware that if I set it to the default, it will listen on all available interface IPs, but that's not what I'm looking for.

Is there a way to configure something like this?



share|improve this question
up vote 1 down vote accepted

If the machine is multi homed with 2 or more IP addresses, then you can setup multiple vsftpd services. Make a copy of the vsftpd.conf, adjust the *listen_address* to the additional IP address. Start another vsftpd daemon using the new config file.

share|improve this answer
ok, this would be the last resort.. but I wanted to check if it is possible with one instance. – zero_r Sep 15 '11 at 20:43
obviously this is the only way to accomplish such a setup... thx – zero_r Sep 16 '11 at 9:33

I have not idea about vsftpd exactly, but what about listen all interfaces and add iptables rule to prevent access from some of them?

like iptables -A INPUT -i ... -j DROP

share|improve this answer
The issue is, that I need other vsftpd instances on other IP addresses, so it's not about allow/deny of certain IPs. – zero_r Sep 15 '11 at 20:38

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.