LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 587|回复: 2

vsftpd在本机上可以访问,在其它wiodows机器访问不了,何故?

[复制链接]
发表于 2003-7-19 14:51:45 | 显示全部楼层 |阅读模式
vsftpd.conf如下:
# Example config file /etc/vsftpd.conf
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
这里的20端口什么意思那?默认的不是21口么?不理解

#chown_uploads=YES
#chown_username=whoever

xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600

#data_connection_timeout=120
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure

async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES

#ftpd_banner=Welcome to blah FTP service.
#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
#ls_recurse_enable=YES

pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES
max_per_ip=2

请大虾指点小弟一下,不胜感激!! :thank
发表于 2003-7-19 16:21:07 | 显示全部楼层
20是传输端口,21是控制端口.
你的防火墙允许21进入了没有?
 楼主| 发表于 2003-7-19 18:35:41 | 显示全部楼层

是rh的放火墙么?

怎么设置防火墙那?另外端口的问题我还是不太明白,请详细解释一下好吗?多谢了
//bow
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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