vsftpd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vsftpd [2018/05/16 08:10] – [3.配置/etc/firewall开放ftp端口] midas_zhou | vsftpd [2025/10/14 06:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| 利用vsftpd可以把widora-neo配置成一个简单的FTP服务器,通过FTP可以很方便地与电脑和手机互传文件。 | 利用vsftpd可以把widora-neo配置成一个简单的FTP服务器,通过FTP可以很方便地与电脑和手机互传文件。 | ||
| ====1.安装vsftpd==== | ====1.安装vsftpd==== | ||
| - | opkg update | + | 安装vsftpd: |
| - | + | opkg update | |
| - | opkg install vsftpd | + | |
| ====2.配置/ | ====2.配置/ | ||
| 这里给出一个仅允许本机用户登陆的典型配置: | 这里给出一个仅允许本机用户登陆的典型配置: | ||
| - | ### refer to: https:// | + | ### refer to: https:// |
| - | listen=YES | + | |
| - | anonymous_enable=NO | + | |
| - | ### local enable and root set MUST be in right order | + | |
| - | local_enable=YES | + | |
| - | local_root=/ | + | |
| - | write_enable=YES | + | |
| - | local_umask=022 | + | |
| - | check_shell=NO | + | |
| - | dirmessage_enable=YES | + | |
| - | ftpd_banner=Widora-NEO | + | |
| - | session_support=NO | + | |
| - | syslog_enable=YES | + | |
| - | ### if you need TLS/SSL options, configure vsftpd accordingly before compiling. | + | |
| - | ### set max_per_ip big enough as some clients will need. | + | |
| - | max_clients=200 | + | |
| - | max_per_ip=20 | + | |
| - | accept_timeout=60 | + | |
| ====3.配置/ | ====3.配置/ | ||
| - | 需要对相应的网络接口开放21端口, | + | 需要对相应的网络接口开放21端口, |
| | | ||
| option name Allow-wan-FTP | option name Allow-wan-FTP | ||
| Line 35: | Line 35: | ||
| ====4.启动vsftpd==== | ====4.启动vsftpd==== | ||
| + | 设置完成后重新启动: | ||
| + | / | ||
| + | / | ||
| ====5.其他==== | ====5.其他==== | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
vsftpd.1526458254.txt.gz · Last modified: (external edit)
