I would like to limit the logins to specified IP ranges with proftpd and have not had any luck doing it.
It would seem <Limit LOGIN> has not effect in /etc/proftpd.conf - For example:
I placed the following in /etc/proftpd.conf:
<Limit LOGIN>
DenyAll
</Limit>
After restarting proftpd I can still login with FTP. I've also tried the following but it has no effect:
<Limit LOGIN>
# These are trusted addresses
Allow from 127.0.0.1 123.123.*.*
# Everyone else is denied
DenyAll
</Limit>
Perhaps I'm editing the wrong file or not understanding something correctly. I also take it that my changes to proftpd.conf will be lost when upgrading directadmin to a newer version?
It would seem <Limit LOGIN> has not effect in /etc/proftpd.conf - For example:
I placed the following in /etc/proftpd.conf:
<Limit LOGIN>
DenyAll
</Limit>
After restarting proftpd I can still login with FTP. I've also tried the following but it has no effect:
<Limit LOGIN>
# These are trusted addresses
Allow from 127.0.0.1 123.123.*.*
# Everyone else is denied
DenyAll
</Limit>
Perhaps I'm editing the wrong file or not understanding something correctly. I also take it that my changes to proftpd.conf will be lost when upgrading directadmin to a newer version?