mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Fix ipsec.conf for strongswan 4.5 (ikev2 was now default).
This commit is contained in:
@@ -384,6 +384,9 @@ sub writeipsecfiles {
|
||||
print CONF "\tpfsgroup=$lconfighash{$key}[23]\n";
|
||||
}
|
||||
|
||||
# IKE V1
|
||||
print CONF "\tkeyexchange=ikev1\n";
|
||||
|
||||
# Lifetimes
|
||||
print CONF "\tikelifetime=$lconfighash{$key}[16]h\n" if ($lconfighash{$key}[16]);
|
||||
print CONF "\tkeylife=$lconfighash{$key}[17]h\n" if ($lconfighash{$key}[17]);
|
||||
|
||||
Reference in New Issue
Block a user