summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-12 15:05:44 +0100
committerErmal <eri@pfsense.org>2014-02-12 15:05:44 +0100
commitff3d516f3fd952d31b47389399b896f79e1e1011 (patch)
treedd4cad81e228f5c87ca5f4307ce425898ece3cfc /etc/inc/vpn.inc
parentede14b2302e2ef598c2ad77bc202426a7bf9794c (diff)
downloadpfsense-ff3d516f3fd952d31b47389399b896f79e1e1011.zip
pfsense-ff3d516f3fd952d31b47389399b896f79e1e1011.tar.gz
Be specific on the authentication method to use since xauth-eap will be active as well
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 4fe23a3..966abb1 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -690,11 +690,11 @@ EOD;
switch ($ph1ent['authentication_method']) {
case 'xauth_rsa_server':
$authentication = "leftauth = pubkey\n\trightauth = pubkey";
- $authentication .= "\n\leftauth2 = xauth";
+ $authentication .= "\n\leftauth2 = xauth-generic";
break;
case 'xauth_psk_server':
$authentication = "leftauth = psk\n\trightauth = psk";
- $authentication .= "\n\tleftauth2 = xauth";
+ $authentication .= "\n\tleftauth2 = xauth-generic";
break;
case 'pre_shared_key':
$authentication = "leftauth = psk\n\trightauth = psk";
@@ -703,7 +703,7 @@ EOD;
$authentication = "leftauth = pubkey\n\trightauth = pubkey";
break;
case 'hybrid_rsa_server':
- $authentication = "leftauth = xauth\n\trightauth = pubkey";
+ $authentication = "leftauth = xauth-generic\n\trightauth = pubkey";
$authentication .= "\n\trightauth2 = xauth";
break;
}
OpenPOWER on IntegriCloud