自宅サーバーに関する設定やTips置き場。

2008年11月18日火曜日

FTP Server / proftpd.conf (SSL/TLS + MySQL)

# cat /usr/local/etc/proftpd.conf


ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
ScoreboardFile /var/run/proftpd/proftpd.scoreboard
Port 21
IdentLookups off
UseReverseDNS off
ListOptions "-a"
Umask 022
MaxInstances 30
CommandBufferSize 512
User nobody
Group nogroup
AllowOverwrite on

DenyAll


TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23 TLSv1
TLSRequired off
TLSRSACertificateFile /usr/local/etc/ssl/server.crt
TLSRSACertificateKeyFile /usr/local/etc/ssl/server.key
TLSVerifyClient off
TLSRenegotiate required off


SQLAuthenticate users
SQLConnectInfo proftpd@localhost:3306 proftpd
SQLAuthTypes Plaintext
SQLUserInfo users userid passwd uid gid homedir shell
SQLGroupInfo groups groupname gid members
AuthOrder mod_sql.c



ProFTPD mini-HOWTO Index
On SQL configurations
http://www.proftpd.org/docs/howto/SQL.html
On SSL/TLS configurations
http://www.proftpd.org/docs/howto/TLS.html

0 件のコメント:

マイブログ リスト

フォロワー

Blogger Syntax Highliter