ServerName "freenas.local FTP Server"
ServerType standalone
DefaultServer on
#Default Address freenas.local
UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 000 000
SyslogFacility ftp
MultilineRFC2228 off
DisplayLogin /var/run/proftpd/proftpd.motd
DeferWelcome off
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
MaxInstances none
MaxClients 5
MaxConnectionsPerHost 10
MaxLoginAttempts 3
DefaultTransferMode ascii
AllowForeignAddress off

IdentLookups off
UseReverseDNS off


<Anonymous /mnt/Bravo/FTP_Area>
  User ftp
  Group ftp
  UserAlias anonymous ftp
  
  
  <Limit LOGIN>
    AllowAll
  </Limit>
</Anonymous>

<Global>
  RequireValidShell off
#   DefaultRoot ~ !wheel
#   RootLogin on
  AllowOverwrite on
  AllowRetrieveRestart on
  AllowStoreRestart on
  DeleteAbortedStores off
  
  
  TimesGMT off
</Global>
<IfModule mod_ban.c>
  BanEngine off
  BanControlsACLs all allow group wheel
  BanLog /var/log/proftpd/ban.log
  BanMessage Host %a has been banned
# -m "mod_ban/rule"
# -v "concat('  BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
# -b
  BanTable /var/run/proftpd/ban.tab
</IfModule>

<Limit DELE>
 DenyAll
</Limit>
<IfModule mod_delay.c>
  DelayEngine on
  DelayTable "/var/run/proftpd/proftpd.delay"
</IfModule>

<IfModule mod_wrap.c>
  TCPAccessFiles /etc/hosts.allow /etc/hosts.allow
  TCPAccessSyslogLevels info warn
  TCPServiceName ftpd
</ifModule>

