上兵伐谋

“上兵伐谋,其次伐交,其次伐兵,其下攻城”。
posts - 35, comments - 32, trackbacks - 0, articles - 3

SuSE Linux下vsftpd的配置

Posted on 2006-04-24 11:13 Kylin Bell 阅读(1495) 评论(1)  编辑 收藏 引用
From the opensuse.org Web site:

Quick Setup
* Install vsftpd using YaST software management
* Enable vsftpd in xinetd. This can be done manually by editing /etc/xinetd.d/ and changing disabled = yes to disabled = no, or by using the following command
        chkconfig vsftpd on
* Start xinetd if its not running already.
        /etc/init.d/xinetd start
* Make sure that xinetd is started automatically at boot time
        chkconfig xinetd on
* Check that FTP server is working fine. By default only anonymous login is allowed. Data in /srv/ftp/ is made publicly available.
* If neccessary, adapt firewall settings. With SuSEFirewall2 add ftp to FW_SERVICES_EXT_TCP, e. g. (with SSH reachable from the internet, too)
        FW_SERVICES_EXT_TCP="ftp ssh"
* and if you need passive ftp or nat, change also resp.
        FW_LOAD_MODULES="ip_conntrack_ftp ip_nat_ftp"

vsftpd具体的配置这里就不多说了,网上有相当多这方面的资料。我遇到的问题是由于SuSEFirewall的设置问题导致FTP服务不能正常访问。
如上,需要在FW_SERVICES_EXT_TCP字段中添加ftp服务,同时要修改FW_LOAD_MODULES段为 FW_LOAD_MODULES="ip_conntrack_ftp ip_nat_ftp"才可以启用passive模式。

Feedback

# re: SuSE Linux下vsftpd的配置  回复  更多评论   

2006-06-27 12:38 by 王清野
这位兄台
能具体说一下如何在SUSE LINUX上配置FTP虚拟用户。谢谢。wqy0829@163.com
qq:40838277
只有注册用户登录后才能发表评论。