-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.inc.sample
81 lines (71 loc) · 3.97 KB
/
config.inc.sample
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
if (!defined ("LOCAL_SECURITY_KEY"))
die ();
// OPENVPN-WEB-GUI ________________________
// Change: your company name
$config['Company_Name'] = 'Random Company';
$config['Company_Logo'] = 'img/OpenVPN-small.gif';
// Change: your company home page
$config['URL_Home_Page'] = 'https://gitorious.org/openvpn-web-gui/';
$config['AUTH_REALM'] = $config['Company_Name'] .' OpenVPN Web GUI v0.0.2';
// What files to include into ZIP
$config['Download']['ZIP']['.crt'] = true;
$config['Download']['ZIP']['.key'] = true;
$config['Download']['ZIP']['.csr'] = false;
$config['Download']['ZIP']['.ta'] = false;
$config['Download']['ZIP']['.ca'] = true;
// Should we adjust a generic config?
$config['Download']['ZIP']['Config_Generic'] = True;
$config['Download']['ZIP']['Config_Generici_Loc'] = '/etc/openvpn/user/easy-rsa/config.ovpn';
// All the following files should be placed into downloads folder
$config['Download']['ZIP']['Others'] = array ();
//$config['Download']['ZIP']['Others'] = array ('readme.txt', 'install.cmd', 'tls-auth.key');
// OPENVPN-WEB-GUI PLUG-INS _______________
// Use the real absolute path here.
//$config['PluginsAbsolutePath'] = '/usr/local/www/data-dist/openvpn/plugins/';
// If there are no plugins
$config['Plugins'] = NULL;
// Otherwise, follow this example:
//$config['Plugins']['PLUGINMANE']['Folder'] = 'FOLDERNAME';
// The post-install helper plugin. Shows if PHP5 has the neccessary functions available
$config['Plugins']['systemcheck']['Folder'] = 'systemcheck';
// OPENVPN ________________________________
// Change: the configuration directory
$config['openvpn']['folder'] = '/etc/openvpn/user/';
// Change: configuration and status file names
$config['openvpn']['config'] = $config['openvpn']['folder'] .'user.conf';
$config['openvpn']['status'] = $config['openvpn']['folder'] .'openvpn-status.log';
// OPENSSL ________________________________