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:03] – 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==== | ||
| + | 安装vsftpd: | ||
| + | opkg update | ||
| + | opkg install vsftpd | ||
| ====2.配置/ | ====2.配置/ | ||
| + | 这里给出一个仅允许本机用户登陆的典型配置: | ||
| + | ### refer to: https:// | ||
| + | | ||
| + | | ||
| + | ### local enable and root set MUST be in right order | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ### if you need TLS/SSL options, configure vsftpd accordingly before compiling. | ||
| + | ### set max_per_ip big enough as some clients will need. | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| ====3.配置/ | ====3.配置/ | ||
| + | 需要对相应的网络接口开放21端口, | ||
| + | | ||
| + | option name Allow-wan-FTP | ||
| + | option src wan | ||
| + | option dest_port 21 | ||
| + | option proto tcp | ||
| + | option target ACCEPT | ||
| + | |||
| ====4.启动vsftpd==== | ====4.启动vsftpd==== | ||
| + | 设置完成后重新启动: | ||
| + | / | ||
| + | / | ||
| ====5.其他==== | ====5.其他==== | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
vsftpd.1526457813.txt.gz · Last modified: (external edit)
