Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

apt-cdrom add

apt-get install proftpd


nano
/etc/proftpd/proftpd.conf
UseIPv6 off
IdentLookups off
ServerIdent on “Al-Mansyurin Forensic Labs”
#. . .
<Anonymous /var/www/>
#User ftp
UserAlias anonymous ftp
</Anonymous>

# This is used for FTPS connections

Include /etc/proftpd/tls.conf
openssl req -x509 -newkey rsa:1024 -
keyout /etc/ssl/private/proftpd.key -out
/etc/ssl/certs/proftpd.crt
-nodes -days 365
Country Name (2 letter code) [GB]: ID
State or Province Name (full name) [Some-State]: East Java
Locality Name (eg, city) []: Mojokerto
Organization Name (eg, company; recommended) []: Al-Mansyurin Team
Organizational Unit Name (eg, section) []:
server name (eg. ssl.domain.tld; required!!!) []: debian.edu
Email Address []: admin@debian.edu

nano /etc/proftpd/tls.conf
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSRSACertificateFile /etc/ssl/certs/proftpd.crt
TLSRSACertificateKeyFile
/etc/ssl/private/proftpd.key
TLSOptions NoCertRequest
TLSVerifyClient off
TLSRequired on
</IfModule>

/etc/init.d/proftpd restart

You might also like