Debian pure-ftpd, Restrict access

Posted by durduvakis on Server Fault See other posts from Server Fault or by durduvakis
Published on 2013-11-04T15:38:30Z Indexed on 2013/11/04 15:56 UTC
Read the original article Hit count: 271

Filed under:
|
|

I am running Debian Wheezy, with ISPConfig 3, plus ModSecurity and I would like to restrict access to ftp to specific IP(s) globally (not to specific ftp users only), that can be either 127.0.0.1 or one I would manually add later. I would also like to completely disable ftp access from the web, but allow only from ftp-client software (if that is possible).

The idea of closing firewall ports is not what I want. I know I can do this setting some firewall rule though, but that is not what I currently need. I have managed to do this for example on phpmyadmin inside it's .conf file, but unfortunately I cannot find any configuration to alter for pure-ftpd in my system.

Restricting web-ftp access maybe possible by adding some rule in apache2 conf, but I am not sure how to write such a rule.

Thanks to everyone that can help cheers

© Server Fault or respective owner

Related posts about apache2

Related posts about debian