1
|
<packagegui>
|
2
|
<name>openvpncsc</name>
|
3
|
<title>OpenVPN: Client-specific configuration</title>
|
4
|
<include_file>openvpn.inc</include_file>
|
5
|
<delete_string>An OpenVPN client-specific configuration has been deleted.</delete_string>
|
6
|
<addedit_string>An OpenVPN client-specific configuration has been created/modified.</addedit_string>
|
7
|
<tabs>
|
8
|
<tab>
|
9
|
<text>Server</text>
|
10
|
<url>/pkg.php?xml=openvpn.xml</url>
|
11
|
</tab>
|
12
|
<tab>
|
13
|
<text>Client</text>
|
14
|
<url>/pkg.php?xml=openvpn_cli.xml</url>
|
15
|
</tab>
|
16
|
<tab>
|
17
|
<text>Client-specific configuration</text>
|
18
|
<url>/pkg.php?xml=openvpn_csc.xml</url>
|
19
|
<active/>
|
20
|
</tab>
|
21
|
</tabs>
|
22
|
<adddeleteeditpagefields>
|
23
|
<columnitem>
|
24
|
<fieldname>disable</fieldname>
|
25
|
<fielddescr>Disabled</fielddescr>
|
26
|
<type>checkbox</type>
|
27
|
</columnitem>
|
28
|
<columnitem>
|
29
|
<fieldname>commonname</fieldname>
|
30
|
<fielddescr>Common name</fielddescr>
|
31
|
</columnitem>
|
32
|
<columnitem>
|
33
|
<fieldname>description</fieldname>
|
34
|
<fielddescr>Description</fielddescr>
|
35
|
</columnitem>
|
36
|
</adddeleteeditpagefields>
|
37
|
<fields>
|
38
|
<field>
|
39
|
<fieldname>disable</fieldname>
|
40
|
<fielddescr>Disabled</fielddescr>
|
41
|
<description>Set this option to disable this client-specific configuration without removing it from the list.</description>
|
42
|
<required/>
|
43
|
<type>checkbox</type>
|
44
|
</field>
|
45
|
<field>
|
46
|
<fieldname>commonname</fieldname>
|
47
|
<fielddescr>Common name</fielddescr>
|
48
|
<description>Enter the client's X.509 common name here.</description>
|
49
|
<required/>
|
50
|
<type>input</type>
|
51
|
</field>
|
52
|
<field>
|
53
|
<fieldname>block</fieldname>
|
54
|
<fielddescr>Blocked</fielddescr>
|
55
|
<description>Check this to block (disable) this client, based on its common name. Don't use this option to disable a client due to key or password compromise. Use a CRL (certificate revocation list) instead.</description>
|
56
|
<type>checkbox</type>
|
57
|
</field>
|
58
|
<field>
|
59
|
<fieldname>push_reset</fieldname>
|
60
|
<fielddescr>Push reset</fielddescr>
|
61
|
<description>Setting this option will make this client not inherit the global push options.</description>
|
62
|
<type>checkbox</type>
|
63
|
</field>
|
64
|
<field>
|
65
|
<fieldname>ifconfig_push</fieldname>
|
66
|
<fielddescr>Interface IP</fielddescr>
|
67
|
<description>Set this option to push an IP to the client's interface. Expressed as a CIDR range (e.g. 10.5.0.0/16). The first IP in the range will be used as the remote IP of the interface, and the second IP will be used as the local IP of the interface.</description>
|
68
|
<type>input</type>
|
69
|
</field>
|
70
|
<field>
|
71
|
<fieldname>custom_options</fieldname>
|
72
|
<fielddescr>Custom options</fielddescr>
|
73
|
<description>You can put your own custom options here, separated by semi-colons (;). They'll be added to the client-specific configuration.</description>
|
74
|
<type>input</type>
|
75
|
</field>
|
76
|
<field>
|
77
|
<fieldname>description</fieldname>
|
78
|
<fielddescr>Description</fielddescr>
|
79
|
<description>You may enter a description here for your reference (not parsed).</description>
|
80
|
<type>input</type>
|
81
|
</field>
|
82
|
</fields>
|
83
|
<custom_php_validation_command>
|
84
|
openvpn_validate_input_csc($_POST, &$input_errors);
|
85
|
</custom_php_validation_command>
|
86
|
<custom_php_resync_config_command>
|
87
|
openvpn_resync_csc($id);
|
88
|
</custom_php_resync_config_command>
|
89
|
</packagegui>
|