在本机上能登录proftpd,在局域网其他地方不行!

由 romanknight 在 11-06-2002 08:57 发表:

在本机上能登录proftpd,在局域网其他地方不行!

首先对各位斑竹和北南大哥表示歉意,我记得曾经在这里看到过有关上面问题的答复,但是回去搜索很久也搜索不出来。所以我违背了各位大哥的缄名中的意见,只好重发了一贴,请各位见谅!

我是一个校园网用户,我现在的系统是rh8。0,根据xchen兄的原创建了一个proftpd服务器,现在在gftp上自己登陆检验就可以,在终端上ftp命令也能进,但是从校园网其他的用户登陆就是不行!

我是完全按照xchen兄的指示做的,所以conf文件配置没有什么不同,但是为了方便大家帮我修改,还是贴在下面了:

This is a basic ProFTPD configuration file (rename it to

'proftpd.conf' for actual use. It establishes a single server

and a single anonymous login. It assumes that you have a user/group

"nobody" and "ftp" for normal operation and anon.

ServerName "Default Installation"

ServerType standalone

DefaultServer on

Port 21 is the standard FTP port.

Port 21

Umask 022 is a good standard umask to prevent new dirs and files

from being group and world writable.

Umask 022

To prevent DoS attacks, set the maximum number of child processes

to 30. If you need to allow more than 30 concurrent connections

at once, simply increase this value. Note that this ONLY works

in standalone mode, in inetd mode you should use an inetd server

that allows you to limit maximum number of processes per service

(such as xinetd)

MaxInstances 30

Set the user and group that the server normally runs at.

User nobody

Group nobody

RequireValidShell off

Normally, we want files to be overwriteable.

1<directory *="">   
2  
3AllowOverwrite on   
4  
5</directory>

A basic anonymous configuration, no upload directories.

 1<anonymous ftp="" home="">   
 2  
 3User ftp   
 4  
 5Group ftp   
 6  
 7# We want clients to be able to login with "anonymous" as well as "ftp"   
 8  
 9UserAlias anonymous ftp   
10  
11  
12  
13# Limit the maximum number of anonymous logins   
14  
15MaxClients 10   
16  
17  
18  
19# We want 'welcome.msg' displayed at login, and '.message' displayed   
20  
21# in each newly chdired directory.   
22  
23DisplayLogin welcome.msg   
24  
25DisplayFirstChdir .message   
26  
27  
28  
29# Limit WRITE everywhere in the anonymous chroot   
30  
31<limit write="">   
32  
33DenyAll   
34  
35</limit>
36</anonymous>

是我的总是我的,不是我的偷来的也不是我的!


由 David 在 11-06-2002 09:14 发表:


你的防火墙打开FTP了吗?


由 romanknight 在 11-06-2002 12:36 发表:


sorry!在那里设置防火墙,在安装的时候设为normal了,但是看其他帖子好像说没什么区别喔!

<font face="腩戾,verdana, arial, helvetica"

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus