In /etc/proftpd/proftpd.conf I edit <Anonymous ~ftp> section:
First I enable write permision for anonymous users:
# <Limit WRITE>
# DenyAll
# </Limit>
Second I allow only specific IPs to connect as anonymous:
<Limit LOGIN>
Order allow,deny
Allow form 192.168.1.134, 192.168.1.135
Deny from all
</Limit>
I make this with nano but if I change FTP settings via Web Interface or change folder permisions I lose this changes.
How to make these changes permanent in proftpd.conf? Is there another way to do that?