Is there any way to limit connection to FTP, to allow only connection from certain IP, or range of IPs if Pure-FTPd is installed on server.
Something like .ftpaccess, ftp access configuration file? But .ftpaccess does not work with Pure-FTPd?
|
Is there any way to limit connection to FTP, to allow only connection from certain IP, or range of IPs if Pure-FTPd is installed on server. Something like .ftpaccess, ftp access configuration file? But .ftpaccess does not work with Pure-FTPd? | |||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
The best way to do this is to use a firewall like iptables to filter ip addresses connecting to the ftp port. If you are using debian or ubuntu, look into ufw firewall. ufw is extremely simple to use. | |||
feedback
|