mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
added tls-remote to openvpn for security reasons
This commit is contained in:
@@ -1378,6 +1378,7 @@ END
|
||||
}
|
||||
print CLIENTCONF "verb 3\r\n";
|
||||
print CLIENTCONF "ns-cert-type server\r\n";
|
||||
print CLIENTCONF "tls-remote $vpnsettings{ROOTCERT_HOSTNAME}\r\n";
|
||||
close(CLIENTCONF);
|
||||
$zip->addFile( "$tempdir/$clientovpn", $clientovpn) or die "Can't add file $clientovpn\n";
|
||||
my $status = $zip->writeToFileNamed($zippathname);
|
||||
|
||||
Reference in New Issue
Block a user