找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 32616|回复: 12

在Openwrt中使用vsftpd作为FTP服务器

[复制链接]
本帖最后由 ice5221 于 2012-12-21 13:30 编辑

  1. opkgupdate
  2. opkginstall vsftpd
  3. ln -s   /etc/init.d/vsftpd/etc/rc.d/S50vsftpd     #建立快速启动,如果是固件集成vsftpd,则跳过该步骤;
复制代码
防火墙开启21端口,如果有需要,可以进行端口转发
  1. vim /etc/vsftpd.conf
复制代码
做出如下修改
游客,如果您要查看本帖隐藏内容请回复


  1. chown root:nogroup /mnt/anymous
  2. chmod 557 /mnt/anymous
复制代码
  1. /etc/init.d/vsftpd restart
复制代码
  1. kill-9 PID
复制代码

我的恩山、我的无线 The best wifi forum is right here.
最后一句有什么用:
kill -9 pid
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
tlze 发表于 2012-11-29 14:46
最后一句有什么用:
kill -9 pid

教你怎么干掉进程。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

正需要此教程,谢谢,但是怎么修改访问端口呢?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
┽→寂寞·不畏 发表于 2012-11-29 20:38
正需要此教程,谢谢,但是怎么修改访问端口呢?

pasv_min_port=8888          #设置被动模式的端口范围,最小端口号~最大端口号
pasv_max_port=8899  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢楼主分享 感谢了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

就想看看如何配置conf
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

中国城管走出亚洲,冲向世界
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不知道怎么
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

为什么不能自己加用户呢  adduser报not found
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

成功安装完成最新的迅雷下载3.0固件!!就差随机启动了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看的一头雾
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我按照你的设置不起

我的是这样的怎么设置FTP文件目录
background=YES
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
check_shell=NO
#dirmessage_enable=YES
#ftpd_banner=Welcome to blah FTP service.
session_support=NO         
#syslog_enable=YES
#userlist_enable=YES
#userlist_deny=NO
#userlist_file=/etc/vsftpd.users
#xferlog_enable=YES
#xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
###
### TLS/SSL options
### example key generation: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/config/vsftpd_privkey.pem -out /etc/config/vsftpd_cert.pem -subj /C="DE"/ST="Saxony"/L="Leipzig"/CN="OpenWrt"
#ssl_enable=YES
#allow_anon_ssl=NO
#force_local_data_ssl=NO
#force_local_logins_ssl=NO
#ssl_tlsv1=YES
#ssl_sslv2=NO
#ssl_sslv3=NO
#rsa_cert_file=/etc/config/vsftpd_cert.pem
#rsa_private_key_file=/etc/config/vsftpd_privkey.pem
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 07:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表