-# 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
+ # Set the default method of data transfer
+ DefaultTransferMode binary
+
+ # Specify the ftp-data port range to be used
+ PassivePorts 57000 60000
+
+ # Sets the idle connection timeout
+ TimeoutIdle 300
+
+ # Sets the login timeout
+ TimeoutLogin 120
+
+ # Sets the timeout on stalled data transfers
+ TimeoutStalled 300
+
+ # Sets the connection without transfer timeout
+ TimeoutNoTransfer 300
+
+ # Configure options used when listing directories
+ ListOptions "-a"
+
+ # Lock users in their home directory
+ DefaultRoot ~
+
+ # Specify proftpd logfile
+ ExtendedLog /var/log/proftpd/ftp.log