commit | author | age
|
0b6929
|
1 |
<!-- BEGIN: main --># This proftpd config file is generated by hsadmin. |
PH |
2 |
|
|
3 |
Include /etc/proftpd/modules.conf |
|
4 |
|
|
5 |
ServerName "Hostsharing eG" |
|
6 |
ServerType standalone |
|
7 |
DeferWelcome off |
|
8 |
UseIPv6 off |
|
9 |
UseReverseDNS off |
|
10 |
IdentLookups off |
|
11 |
|
|
12 |
ShowSymlinks on |
|
13 |
MultilineRFC2228 on |
|
14 |
DefaultServer on |
|
15 |
ShowSymlinks on |
|
16 |
AllowOverwrite on |
|
17 |
|
|
18 |
RequireValidShell off |
|
19 |
DefaultRoot ~ |
|
20 |
AllowForeignAddress on |
|
21 |
|
|
22 |
TimeoutNoTransfer 900 |
|
23 |
TimeoutStalled 900 |
|
24 |
TimeoutIdle 1800 |
|
25 |
|
|
26 |
DisplayLogin welcome.msg |
|
27 |
ListOptions "-la" |
|
28 |
|
|
29 |
DenyFilter \*.*/ |
|
30 |
|
|
31 |
Port 21 |
|
32 |
MaxInstances 128 |
|
33 |
User nobody |
|
34 |
Group nogroup |
|
35 |
|
|
36 |
LoadModule mod_tls.c |
|
37 |
TLSEngine on |
|
38 |
TLSProtocol SSLv23 TLSv1 |
|
39 |
TLSRequired off |
|
40 |
TLSVerifyClient off |
|
41 |
TLSRSACertificateFile /etc/proftpd/ftp-cert.pem |
|
42 |
TLSRSACertificateKeyFile /etc/proftpd/ftp-key.pem |
|
43 |
TLSCertificateChainFile /etc/proftpd/ftp-chain.pem |
|
44 |
|
|
45 |
LogFormat default "%h %l %u %t \"%r\" %s %b" |
|
46 |
LogFormat auth "%v [%P] %h %t \"%r\" %s" |
|
47 |
LogFormat write "%h %l %u %t \"%r\" %s %b" |
|
48 |
|
|
49 |
DelayEngine off |
|
50 |
|
|
51 |
PassivePorts 60000 65534 |
|
52 |
|
|
53 |
<Directory /*> |
|
54 |
Umask 022 022 |
|
55 |
AllowOverwrite on |
|
56 |
</Directory> |
|
57 |
|
|
58 |
<!-- BEGIN: iterate --> |
|
59 |
#---------------------------------------------------------------------- |
|
60 |
# {PAC}.hostsharing.net |
|
61 |
<VirtualHost {PAC_IP}> |
|
62 |
DefaultRoot ~ {PAC} |
|
63 |
ServerName "Hostsharing eG" |
|
64 |
AllowOverwrite on |
|
65 |
AllowForeignAddress on |
|
66 |
RequireValidShell off |
|
67 |
|
|
68 |
<Limit LOGIN> |
|
69 |
Order allow,deny |
|
70 |
AllowGroup {PAC} |
|
71 |
DenyAll |
|
72 |
</Limit> |
|
73 |
<Anonymous /home/pacs/{PAC}/ftp> |
|
74 |
User {PAC} |
|
75 |
Group {PAC} |
|
76 |
UserAlias anonymous {PAC} |
|
77 |
UserAlias ftp {PAC} |
|
78 |
DirFakeUser on ftp |
|
79 |
DirFakeGroup on ftp |
|
80 |
DirFakeMode 000 |
|
81 |
AuthAliasOnly on |
|
82 |
<Limit WRITE> |
|
83 |
DenyAll |
|
84 |
</Limit> |
|
85 |
</Anonymous> |
|
86 |
</VirtualHost> |
|
87 |
<!-- END: iterate --> |
|
88 |
<!-- END: main --> |
|
89 |
|