號稱非常安全的FTPvsftpd(Very Secure FTP Daemon )
顧名思義就是強調安全
因此不多說
馬上在FreeBSD上來安裝吧
=====================================
安裝vsFTP
路徑:/usr/ports/ftp/vsftpd/
安裝:make install clean
選項: [ ] RC_NG install RC_NG script 可選取!
(會在安裝後,自行產生/usr/local/etc/rc.d/vsftpd.sh 的執行shell,不必事後再來自建)
設定vsFTP
路徑:/usr/local/etc/vsftpd.conf
(記得先自行備份)
vsFTP的參數相當的多,這邊只po上我選用的設定,有興趣的朋友可自行於網站上深入研究
鳥哥的vsFTPd
VSFTPD 配置大全---超完整版
新增目錄
於/usr/share/ 資料夾下
新增一個資料夾 empty
# mkdir empty
開機啟動vsFTPd
在/etc/rc.conf 裡加入
vsftpd_enable="YES"
vsftpd_flags="/usr/local/etc/vsftpd.conf"
啟動vsftpd
# /usr/local/etc/rc.d/vsftpd start
顧名思義就是強調安全
因此不多說
馬上在FreeBSD上來安裝吧
=====================================
安裝vsFTP
路徑:/usr/ports/ftp/vsftpd/
安裝:make install clean
選項: [ ] RC_NG install RC_NG script 可選取!
(會在安裝後,自行產生/usr/local/etc/rc.d/vsftpd.sh 的執行shell,不必事後再來自建)
設定vsFTP
路徑:/usr/local/etc/vsftpd.conf
(記得先自行備份)
vsFTP的參數相當的多,這邊只po上我選用的設定,有興趣的朋友可自行於網站上深入研究
鳥哥的vsFTPd
VSFTPD 配置大全---超完整版
background=YES connect_from_port_20=YES listen_port=21 local_umask=022 #anon_umask=022 dirmessage_enable=YES message_file=.message listen=YES pasv_enable=YES use_localtime=YES write_enable=YES connect_timeout=100 accept_timeout=100 data_connection_timeout=500 idle_session_timeout=500 max_clients=30 max_per_ip=20 pasv_min_port=65400 pasv_max_port=65500 #banner_file=/path/file guest_enable=NO guest_username=fqgyftp local_enable=YES local_max_rate=0 chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/usr/local/etc/vsftpd.chroot_list userlist_enable=YES userlist_deny=YES userlist_file=/usr/local/etc/vsftpd.user_list anonymous_enable=NO ascii_download_enable=YES ascii_upload_enable=YES one_process_model=NO tcp_wrappers=YES xferlog_enable=YES xferlog_file=/var/log/vsftpd.log xferlog_std_format=NO nopriv_user=nobody |
新增目錄
於/usr/share/ 資料夾下
新增一個資料夾 empty
# mkdir empty
開機啟動vsFTPd
在/etc/rc.conf 裡加入
vsftpd_enable="YES"
vsftpd_flags="/usr/local/etc/vsftpd.conf"
啟動vsftpd
# /usr/local/etc/rc.d/vsftpd start