Revision 0810a719
Added by Ermal LUÇI over 10 years ago
etc/inc/vpn.inc | ||
---|---|---|
628 | 628 |
else |
629 | 629 |
$rekey = "rekey = yes"; |
630 | 630 |
|
631 |
if ($ph1ent['nat_traversal'] != 'off') |
|
632 |
$forceencaps = "forceencaps = yes"; |
|
631 |
if ($ph1ent['nat_traversal'] == 'off') |
|
632 |
$forceencaps = 'forceencaps = no\n\tmobike = no'; |
|
633 |
else if ($ph1ent['nat_traversal'] == 'force') |
|
634 |
$forceencaps = 'forceencaps = yes'; |
|
633 | 635 |
else |
634 |
$forceencaps = "forceencaps = no";
|
|
636 |
$forceencaps = 'forceencaps = no';
|
|
635 | 637 |
|
636 | 638 |
$ipseclifetime = 0; |
637 | 639 |
$rightsubnet_spec = array(); |
Also available in: Unified diff
Restore 3 values back on NAT-T settings Just Enable now its Auto as per strongswan default. and off disabled mobike. Ticket #3979