How do i configure proftpd to only listen to connections on 127.0.0.1?
If i set
DefaultAddress localhost
in /etc/proftpd/proftpd.conf
and restart proftp i'm still able to login from another computer…
is this the wrong option? Or ist this just a stupid use case and no one but me would ever need such functionalty?!?
Best Answer
Did you try using
127.0.0.1
instead oflocalhost
. Maybe/etc/hosts
has something strange in there.Failing that, the ProFTPd FAQ suggests using the Allow and Deny options, or run it from xinetd, or enable the tcp wrappers module and set that up.
Or of course you could use iptables.