summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-06 16:45:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-06 16:45:35 +0000
commit16c2327b2f65d9f2e7d27b11388896c0f548a04b (patch)
tree7d1b5d4529c64d888db0eb55aab214eb25f058af /usr
parent490b8b2a4b51fe9ba5494bd2e0d3b6857a9ba210 (diff)
downloadpfsense-16c2327b2f65d9f2e7d27b11388896c0f548a04b.zip
pfsense-16c2327b2f65d9f2e7d27b11388896c0f548a04b.tar.gz
MFC
Diffstat (limited to 'usr')
-rw-r--r--usr/local/pkg/openvpn_csc.xml89
1 files changed, 89 insertions, 0 deletions
diff --git a/usr/local/pkg/openvpn_csc.xml b/usr/local/pkg/openvpn_csc.xml
new file mode 100644
index 0000000..93e0fb8
--- /dev/null
+++ b/usr/local/pkg/openvpn_csc.xml
@@ -0,0 +1,89 @@
+<packagegui>
+ <name>openvpncsc</name>
+ <title>OpenVPN: Client-specific configuration</title>
+ <include_file>openvpn.inc</include_file>
+ <delete_string>An OpenVPN client-specific configuration has been deleted.</delete_string>
+ <addedit_string>An OpenVPN client-specific configuration has been created/modified.</addedit_string>
+ <tabs>
+ <tab>
+ <text>Server</text>
+ <url>/pkg.php?xml=openvpn.xml</url>
+ </tab>
+ <tab>
+ <text>Client</text>
+ <url>/pkg.php?xml=openvpn_cli.xml</url>
+ </tab>
+ <tab>
+ <text>Client-specific configuration</text>
+ <url>/pkg.php?xml=openvpn_csc.xml</url>
+ <active/>
+ </tab>
+ </tabs>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fieldname>disable</fieldname>
+ <fielddescr>Disabled</fielddescr>
+ <type>checkbox</type>
+ </columnitem>
+ <columnitem>
+ <fieldname>commonname</fieldname>
+ <fielddescr>Common name</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fieldname>disable</fieldname>
+ <fielddescr>Disabled</fielddescr>
+ <description>Set this option to disable this client-specific configuration without removing it from the list.</description>
+ <required/>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fieldname>commonname</fieldname>
+ <fielddescr>Common name</fielddescr>
+ <description>Enter the client's X.509 common name here.</description>
+ <required/>
+ <type>input</type>
+ </field>
+ <field>
+ <fieldname>block</fieldname>
+ <fielddescr>Blocked</fielddescr>
+ <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>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fieldname>push_reset</fieldname>
+ <fielddescr>Push reset</fielddescr>
+ <description>Setting this option will make this client not inherit the global push options.</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fieldname>ifconfig_push</fieldname>
+ <fielddescr>Interface IP</fielddescr>
+ <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>
+ <type>input</type>
+ </field>
+ <field>
+ <fieldname>custom_options</fieldname>
+ <fielddescr>Custom options</fielddescr>
+ <description>You can put your own custom options here, separated by semi-colons (;). They'll be added to the client-specific configuration.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ <description>You may enter a description here for your reference (not parsed).</description>
+ <type>input</type>
+ </field>
+ </fields>
+ <custom_php_validation_command>
+ openvpn_validate_input_csc($_POST, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_resync_config_command>
+ openvpn_resync_csc($id);
+ </custom_php_resync_config_command>
+</packagegui>
OpenPOWER on IntegriCloud