FTP端口范围修改

由于美团云主机端口可使用范围 需要/www/wdlinux/etc/pure-ftpd.conf修改PureFtpd的端口范围 默认的 20000:20500 修改为 20000 20030

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# pure-ftpd.conf
# http://www.wdlinux.cn
Bind 21
ChrootEveryone yes
BrokenClientsCompatibility no
MaxClientsNumber 50
Daemonize yes
MaxClientsPerIP 8
VerboseLog no
DisplayDotFiles yes
AnonymousOnly no
NoAnonymous yes
SyslogFacility ftp
DontResolve yes
MaxIdleTime 15
LimitRecursion 10000 8
AnonymousCanCreateDirs no
MaxLoad 4
AntiWarez yes
Umask 133:022
MinUID 100
AllowUserFXP no
AllowAnonymousFXP no
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
AutoRename no
AnonymousCantUpload no
MaxDiskUsage 99
CustomerProof yes
AllowOverwrite on
AllowStoreRestart on
UnixAuthentication yes
PassivePortRange 20000 20030
PureDB /www/wdlinux/pureftpd/etc/pureftpd.pdb