summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-20 12:33:39 -0500
committerjim-p <jimp@pfsense.org>2011-01-20 12:33:39 -0500
commitbca35cff4671b178584f677d4031ed40bbbd021a (patch)
tree6084fd569e2c57193800345df79e4dd676e481ef /usr/local/www/wizards
parent09e11b69471b81bb92f72b060fb2e0e8f9d24f78 (diff)
downloadpfsense-bca35cff4671b178584f677d4031ed40bbbd021a.zip
pfsense-bca35cff4671b178584f677d4031ed40bbbd021a.tar.gz
Add a checkbox for duplicate-cn on OpenVPN servers.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/openvpn_wizard.inc2
-rw-r--r--usr/local/www/wizards/openvpn_wizard.xml8
2 files changed, 10 insertions, 0 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc
index 35bca7c..3d09066 100644
--- a/usr/local/www/wizards/openvpn_wizard.inc
+++ b/usr/local/www/wizards/openvpn_wizard.inc
@@ -550,6 +550,8 @@ function step12_submitphpaction() {
$server['passtos'] = $pconfig['step10']['tos'];
if (isset($pconfig['step10']['interclient']))
$server['client2client'] = $pconfig['step10']['interclient'];
+ if (isset($pconfig['step10']['duplicate_cn']))
+ $server['duplicate_cn'] = $pconfig['step10']['duplicate_cn'];
if (isset($pconfig['step10']['dynip']))
$server['dynamic_ip'] = $pconfig['step10']['dynip'];
if (isset($pconfig['step10']['addrpool']))
diff --git a/usr/local/www/wizards/openvpn_wizard.xml b/usr/local/www/wizards/openvpn_wizard.xml
index e60aa6e..e28507b 100644
--- a/usr/local/www/wizards/openvpn_wizard.xml
+++ b/usr/local/www/wizards/openvpn_wizard.xml
@@ -748,6 +748,13 @@
<bindstofield>ovpnserver->step10->interclient</bindstofield>
</field>
<field>
+ <displayname>Duplicate Connections</displayname>
+ <name>duplicate_cn</name>
+ <type>checkbox</type>
+ <description>Allow multiple concurrent connections from clients using the same Common Name.&lt;br/&gt;NOTE: This is not generally recommended, but may be needed for some scenarios.</description>
+ <bindstofield>ovpnserver->step10->duplicate_cn</bindstofield>
+ </field>
+ <field>
<type>listtopic</type>
<name>Client Settings</name>
</field>
@@ -943,3 +950,4 @@
<includefile>/usr/local/www/wizards/openvpn_wizard.inc</includefile>
</step>
</pfsensewizard>
+
OpenPOWER on IntegriCloud