Enabling TLS on FTP - fails to start

Status
Not open for further replies.

Ptera

Explorer
Joined
May 7, 2014
Messages
65
... unknown configuration directive 'TLS' on line 66 of '/usr/local/etc/proftpd.conf'
I got this error when I tried to enable TLS on ftp
FTP without tls worked just fine.
Do I need to enable all the other TLS options on the advanced page?
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
What version of Freenas?

Sent from my SGH-I257M using Tapatalk 2
 

Ptera

Explorer
Joined
May 7, 2014
Messages
65
Code:
ServerName "nas.ptera.net FTP Server"
ServerType standalone
DefaultServer on
#Default Address nas.ptera.net
UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 066 022
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 2
MaxLoginAttempts 1
DefaultTransferMode ascii
AllowForeignAddress off
 
IdentLookups off
UseReverseDNS off
 
 
<Limit LOGIN>
  AllowAll
</Limit>
 
<Global>
  RequireValidShell off
  DefaultRoot ~ !wheel
#  RootLogin on
  AllowOverwrite on
#  AllowRetrieveRestart on
#  AllowStoreRestart on
  DeleteAbortedStores off
 
 
  TimesGMT off
</Global>
LoadModule mod_tls.c
<IfModule mod_tls.c>
  TLSEngine on
  TLSProtocol SSLv23
 
  TLSRSACertificateFile /etc/ssl/freenas/proftpd/proftpd.crt
  TLSRSACertificateKeyFile /etc/ssl/freenas/proftpd/proftpd.key
  TLSVerifyClient off
  TLSRequired on
</IfModule>
<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>
 
TLS Required on
<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>
 

Ptera

Explorer
Joined
May 7, 2014
Messages
65
I have not been able to work on this since I had to RMA our motherboard.
I will revisit this when the replacement comes or if we run into this on the other system we ordered.
Thanks
 
Status
Not open for further replies.
Top