vsftpd
Differences
This shows you the differences between two versions of the page.
| Next 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可以很方便地与电脑和手机互传文件。 | ||
| - | ====安装vsftpd==== | + | ====1.安装vsftpd==== |
| - | ====配置/ | + | 安装vsftpd: |
| - | ====配置/ | + | opkg update |
| - | ====启动vsftpd==== | + | opkg install vsftpd |
| - | ====其他==== | + | ====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.配置/ | ||
| + | 需要对相应的网络接口开放21端口, | ||
| + | | ||
| + | option name Allow-wan-FTP | ||
| + | option src wan | ||
| + | option dest_port 21 | ||
| + | option proto tcp | ||
| + | option target ACCEPT | ||
| + | |||
| + | ====4.启动vsftpd==== | ||
| + | 设置完成后重新启动: | ||
| + | / | ||
| + | / | ||
| + | ====5.其他==== | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
vsftpd.1526457787.txt.gz · Last modified: (external edit)
