aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.xml2
-rwxr-xr-xconfig/openvpn-client-export/vpn_openvpn_export.php10
2 files changed, 8 insertions, 4 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index 2e9e96da..d06d50f8 100755
--- a/config/openvpn-client-export/openvpn-client-export.xml
+++ b/config/openvpn-client-export/openvpn-client-export.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
<name>OpenVPN Client Export</name>
- <version>0.7</version>
+ <version>0.8</version>
<title>OpenVPN Client Export</title>
<include_file>/usr/local/pkg/openvpn-client-export.inc</include_file>
<backup_file></backup_file>
diff --git a/config/openvpn-client-export/vpn_openvpn_export.php b/config/openvpn-client-export/vpn_openvpn_export.php
index 837b854b..6bfdd4e3 100755
--- a/config/openvpn-client-export/vpn_openvpn_export.php
+++ b/config/openvpn-client-export/vpn_openvpn_export.php
@@ -78,7 +78,7 @@ foreach($a_server as $sindex => $server) {
$ras_user[] = $ras_userent;
}
}
- } elseif (!empty($server['authmode']) && ($server['mode'] != "server_user")) {
+ } elseif ((!empty($server['authmode']) && ($server['mode'] != "server_user")) || ($server['mode'] == "server_tls")) {
foreach($a_cert as $cindex => $cert) {
if ($cert['caref'] != $server['caref'])
continue;
@@ -512,7 +512,11 @@ function server_changed() {
var cell1 = row.insertCell(1);
var cell2 = row.insertCell(2);
cell0.className = "listlr";
- cell0.innerHTML = "External Auth+Cert";
+ if (servers[index][2] == "server_tls") {
+ cell0.innerHTML = "Certificate (SSL/TLS, no Auth)";
+ } else {
+ cell0.innerHTML = "Certificate with External Auth";
+ }
cell1.className = "listr";
cell1.innerHTML = certs[j][1];
cell2.className = "listr";
@@ -530,7 +534,7 @@ function server_changed() {
var cell1 = row.insertCell(1);
var cell2 = row.insertCell(2);
cell0.className = "listlr";
- cell0.innerHTML = "External authentication users";
+ cell0.innerHTML = "Authentication Only (No Cert)";
cell1.className = "listr";
cell1.innerHTML = "none";
cell2.className = "listr";