Revision 9c04a8c0
Added by Chris Buechler over 14 years ago
etc/inc/vpn.inc | ||
---|---|---|
485 | 485 |
$passive = ""; |
486 | 486 |
if (isset($ph1ent['mobile'])) { |
487 | 487 |
$rgip = "anonymous"; |
488 |
$passive = "passive on;"; |
|
488 | 489 |
/* Mimic 1.2.3's behavior for pure-psk mobile tunnels */ |
489 | 490 |
if ($ph1ent['authentication_method'] == "pre_shared_key") { |
490 |
$passive = "passive on;"; |
|
491 | 491 |
$pcheck = !empty($ph1ent['proposal_check']) ? $ph1ent['proposal_check'] : $pcheck = "obey"; |
492 | 492 |
$genp = "on"; |
493 | 493 |
} else { |
Also available in: Unified diff
passive should always be on for mobile clients per racoon man page