What is the best way to limit access to the ftp server to localhost only - I have a number of Joomla sites and I would like to limit ftp access to the joomla backend ftp only (in other words only access from localhost) and all external requests should be denied.
Thanks in advance
You can set what IP address ProFTPd listens to by editing /etc/proftpd/proftpd.conf, and set “DefaultAddress” to “127.0.0.1”.
There’s more details on that option here:
I tried that but it still accepts logins from external computers - I am a bit puzzled
I’m glad you got it working – thanks for letting us know how you fixed it!
I have discovered the key to this. The proftpd.conf file should be updated as follows:
Without the SocketBindTight the server would still accept requests from external IP addresses.