用proftp架设ftp服务器后其他机器不能访问

由 kevinwong 在 02-05-2004 18:41 发表:

用proftp架设ftp服务器后其他机器不能访问

我的ftp服务器ip是192.168.186.128

在xp下用ie访问:ftp://192.168.186.128

提示远程主机终止连接

在命令行下用ftp连接也提示:

connection closed by remote host. 怎么解决?

另外想问一下 怎么决定为其它用户提供上传下载的目录

例如我想用/usr/ftp目录来提供ftp服务。

谢谢!

我的proftp.conf 如下

ServerName "Kevin's FTP"

ServerType standalone

ServerAdmin [email protected]

DefaultServer on

DefaultTransferMode binary

RequireValidShell off

Port 21

Umask 022

#tcpSendWindow 16384

MaxInstances 300

UseReverseDNS off

ExtendedLog /home/log/ftp.log read,write

TimeoutStalled 120

TimeoutIdle 120

TimeoutNoTransfer 800

PassivePorts 49152 65534

User ftp

Group ftp

 1<anonymous ~ftp="">   
 2  
 3User ftp   
 4  
 5Group ftp   
 6  
 7UserAlias anonymous ftp   
 8  
 9DisplayLogin welcome.msg   
10  
11DisplayFirstChdir .message   
12  
13  
14  
15  
16  
17DirFakeGroup on   
18  
19DirFakeUser on   
20  
21  
22  
23AllowRetrieveRestart on   
24  
25AllowStoreRestart on   
26  
27HideNoAccess on   
28  
29Hideuser root   
30  
31  
32  
33  
34  
35<directory *="">
36<limit write="">   
37  
38Deny All   
39  
40</limit>
41</directory>
42<directory incoming="">   
43  
44RateReadBPS 500000   
45  
46RateReadFreeBytes 500000   
47  
48RateWriteBPS 500000   
49  
50RateWriteFreeBytes 500000   
51  
52  
53  
54<limit dirs="" mkd="" retr="" stor="">   
55  
56Order allow,deny   
57  
58  
59  
60Allow from 192.168.186.1/254 192.168.47.1/254   
61  
62deny from all   
63  
64</limit>
65</directory>
66<directory pub="">   
67  
68RateReadBPS 500000   
69  
70RateReadFreeBytes 500000   
71  
72<limit dirs="" read="" retr="">   
73  
74Order allow,deny   
75  
76Allow from all   
77  
78</limit>
79<limit dele="" mkd="" rmd="" rnfr="" rnto="" stor="">   
80  
81Order allow,deny   
82  
83  
84  
85  
86  
87allow from 192.168.186.1/130 192.168.47.1/130   
88  
89deny from all   
90  
91</limit>
92</directory>
93<directory pub2="">   
94  
95&lt;Limit READ DIRS</directory></anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus