summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2015-04-13 11:17:33 +0200
committerIngo Bauersachs <ingo@jitsi.org>2015-04-15 14:28:03 +0200
commitcb377516944e14fcd56ddad6b3963b09a9159d16 (patch)
tree2c167a55b2a6aaa86c79f88c0a793be522f67300 /usr/local/www
parentfc70ad875b4c677d6db2b83b99f1ca5d3fe6a77f (diff)
downloadpfsense-cb377516944e14fcd56ddad6b3963b09a9159d16.zip
pfsense-cb377516944e14fcd56ddad6b3963b09a9159d16.tar.gz
Add support for EAP-RADIUS to IKEv2 Mobile Clients
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 4630828..009582e 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -175,6 +175,10 @@ if ($_POST) {
if ($pconfig['iketype'] != 'ikev2')
$input_errors[] = gettext("EAP-TLS can only be used with IKEv2 type VPNs.");
break;
+ case "eap-radius":
+ if ($pconfig['iketype'] != 'ikev2')
+ $input_errors[] = gettext("EAP-RADIUS can only be used with IKEv2 type VPNs.");
+ break;
case "pre_shared_key":
// If this is a mobile PSK tunnel the user PSKs go on
// the PSK tab, not here, so skip the check.
@@ -479,6 +483,7 @@ function methodsel_change() {
switch (value) {
case 'eap-mschapv2':
case 'eap-tls':
+ case 'eap-radius':
document.getElementById('opt_psk').style.display = 'none';
document.getElementById('opt_peerid').style.display = '';
document.getElementById('opt_cert').style.display = '';
OpenPOWER on IntegriCloud