-#A basic anonymous configuration
-# uncoment this section below if you want gain annonymous ftp acces
-<Anonymous ~ftp>
- User ftp
- Group ftp
- AnonRequirePassword off
- RequireValidShell off
-
- # We want clients to be able to login with "anonymous" as well as "ftp"
- UserAlias anonymous ftp
-
- # Limit the maximum number of anonymous logins
- MaxClients 10
-
- # We want 'welcome.msg' displayed at login, and '.message' displayed
- # in each newly chdired directory.
- DisplayLogin welcome.msg
- DisplayFirstChdir .message
-
- AllowStoreRestart on
-
- # Limit WRITE everywhere in the anonymous chroot
- <Limit WRITE>
- DenyAll
- </Limit>
-
-# <Directory /home/ftp/pub/Incoming>
-# <Limit READ>
-# DenyAll
-# </Limit>
-# <Limit WRITE>
-# AllowAll
-# </Limit>
-# <Limit STOR>
-# AllowAll
-# </Limit>
-# </Directory>
-</Anonymous>
+# lock users to their homedir
+DefaultRoot ~
+
+# allow resume uploads and downloads
+AllowRetrieveRestart on
+AllowStoreRestart on
+
+# enable this to have your ftp server FXP gateway.
+# only enable this if you trust your users as it allows your ftp server to connect anywhere.
+# DO NOT enable this if you have anonymous logins enabled!
+#AllowForeignAddress on
+
+# NAT support
+# http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-NAT.html
+#MasqueradeAddress my.domain.com
+#PassivePorts 60000 65535
+
+#UseIPv6 off
+
+# Do not announce server software at logon. for paranoids.
+#ServerIdent off
+
+# To prevent DoS attacks, set the maximum number of child processes
+# to 30. If you need to allow more than 30 concurrent connections
+# at once, simply increase this value. Note that this ONLY works
+# in standalone mode, in inetd mode you should use an inetd server
+# that allows you to limit maximum number of processes per service
+# (such as xinetd).
+MaxInstances 30
+
+# Idle
+TimeoutLogin 300
+TimeoutNoTransfer 300
+
+# Load additional (modules) config
+Include /etc/ftpd/conf.d/*.conf