mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
IPsec: Always send our host certificate to all RW clients
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -350,6 +350,12 @@ sub writeipsecfiles {
|
||||
|
||||
print CONF "\tleftfirewall=yes\n";
|
||||
print CONF "\tlefthostaccess=yes\n";
|
||||
|
||||
# Always send the host certificate
|
||||
if ($lconfighash{$key}[3] eq 'host') {
|
||||
print CONF "\tleftsendcert=always\n";
|
||||
}
|
||||
|
||||
print CONF "\tright=$lconfighash{$key}[10]\n";
|
||||
|
||||
if ($lconfighash{$key}[3] eq 'net') {
|
||||
|
||||
Reference in New Issue
Block a user