Project

General

Profile

Download (5.76 KB) Statistics
| Branch: | Tag: | Revision:
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
		
71
		<field>
72
			<fieldname>dhcp_domainname</fieldname>
73
			<fielddescr>DHCP-Opt.: DNS-Domainname</fielddescr>
74
			<description>Set connection-specific DNS Suffix.</description>
75
			<type>input</type>
76
		</field>
77
		<field>
78
			<fieldname>dhcp_dns</fieldname>
79
			<fielddescr>DHCP-Opt.: DNS-Server</fielddescr>
80
			<description>Set domain name server addresses, separated by semi-colons (;).</description>
81
			<type>input</type>
82
		</field>
83
		<field>
84
			<fieldname>dhcp_wins</fieldname>
85
			<fielddescr>DHCP-Opt.: WINS-Server</fielddescr>
86
			<description>Set WINS server addresses (NetBIOS over TCP/IP Name Server), separated by semi-colons (;).</description>
87
			<type>input</type>
88
		</field>
89
		<field>
90
			<fieldname>dhcp_nbdd</fieldname>
91
			<fielddescr>DHCP-Opt.: NBDD-Server</fielddescr>
92
			<description>Set NBDD server addresses (NetBIOS over TCP/IP Datagram Distribution Server), separated by semi-colons (;).</description>
93
			<type>input</type>
94
		</field>
95
		<field>
96
			<fieldname>dhcp_ntp</fieldname>
97
			<fielddescr>DHCP-Opt.: NTP-Server</fielddescr>
98
			<description>Set NTP server addresses (Network Time Protocol), separated by semi-colons (;).</description>
99
			<type>input</type>
100
		</field>
101
		<field>
102
			<fieldname>dhcp_nbttype</fieldname>
103
			<fielddescr>DHCP-Opt.: NetBIOS node type</fielddescr>
104
			<description>Set NetBIOS over TCP/IP Node type. Possible options: b-node (broadcasts), p-node (point-to-point name queries to a WINS server), m-node (broadcast then query name server), and h-node (query name server, then broadcast).</description>
105
			<type>select</type>
106
			<options>
107
				<option>
108
					<value>0</value>
109
					<name>none</name>
110
				</option>
111
				<option>
112
				<value>1</value>
113
					<name>b-node</name>
114
				</option>
115
				<option>
116
					<value>2</value>
117
					<name>p-node</name>
118
				</option>
119
				<option>
120
					<value>4</value>
121
					<name>m-node</name>
122
				</option>
123
				<option>
124
					<value>8</value>
125
					<name>h-node</name>
126
				</option>
127
			</options>
128
			<default_value>0</default_value>
129
		</field>
130
		<field>
131
			<fieldname>dhcp_nbtscope</fieldname>
132
			<fielddescr>DHCP-Opt.: NetBIOS Scope</fielddescr>
133
			<description>Set NetBIOS over TCP/IP Scope. A NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID.</description>
134
			<type>input</type>
135
		</field>
136
		<field>
137
			<fieldname>dhcp_nbtdisable</fieldname>
138
			<fielddescr>DHCP-Opt.: Disable NetBIOS</fielddescr>
139
			<description>If this option is set, Netbios-over-TCP/IP will be disabled.</description>
140
			<type>checkbox</type>
141
		</field>
142
		
143
		<field>
144
			<fieldname>custom_options</fieldname>
145
			<fielddescr>Custom options</fielddescr>
146
			<description>You can put your own custom options here, separated by semi-colons (;). They'll be added to the client-specific configuration.</description>
147
			<type>textarea</type>
148
			<cols>65</cols>
149
			<rows>5</rows>
150
		</field>
151
		<field>
152
			<fieldname>description</fieldname>
153
			<fielddescr>Description</fielddescr>
154
			<description>You may enter a description here for your reference (not parsed).</description>
155
			<type>input</type>
156
		</field>
157
	</fields>
158
	<custom_php_validation_command>
159
		openvpn_validate_input_csc($_POST, &amp;$input_errors);
160
	</custom_php_validation_command>
161
	<custom_php_resync_config_command>
162
		openvpn_resync_csc($id);
163
	</custom_php_resync_config_command>
164
</packagegui>
(10-10/11)