IPsec: Apple: Enable PFS on client when enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-03-05 13:48:21 +00:00
parent f356736432
commit b75d92100c

View File

@@ -1257,6 +1257,13 @@ END
print " <key>RemoteAddress</key>\n";
print " <string>$endpoint</string>\n";
# PFS
my $pfs = $confighash{$key}[28];
if ($pfs eq "on") {
print " <key>EnablePFS</key>\n";
print " <true/>\n";
}
# Left ID
if ($confighash{$key}[9]) {
print " <key>LocalIdentifier</key>\n";