Commit a82dff8a authored by Nick's avatar Nick

Add float to ovpn filr - #16

parent 4932cd07
Pipeline #68829275 passed with stages
in 13 minutes and 45 seconds
......@@ -5,7 +5,7 @@
/////////////////////////////////////////////////////////////////////////////
$app['basename'] = 'openvpn';
$app['version'] = '2.4.8';
$app['version'] = '2.4.9';
$app['vendor'] = 'ClearFoundation';
$app['packager'] = 'ClearFoundation';
$app['license'] = 'GPLv3';
......
......@@ -273,20 +273,21 @@ class OpenVPN extends Daemon
$protocol = $this->get_client_protocol();
if ($type == self::TYPE_OS_WINDOWS) {
$config = "client
remote $host $port
dev tun
proto $protocol
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca-cert.pem
cert client-" . $file_id . "-cert.pem
key client-" . $file_id . "-key.pem
ns-cert-type server
verb 3
auth-user-pass
$config = "client
remote $host $port
dev tun
proto $protocol
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca-cert.pem
cert client-" . $file_id . "-cert.pem
key client-" . $file_id . "-key.pem
ns-cert-type server
verb 3
float
auth-user-pass
";
} else if (($type == self::TYPE_OS_LINUX) || ($type == self::TYPE_OS_MACOS)) {
$config = "client
......@@ -304,6 +305,7 @@ cert client-" . $file_id . "-cert.pem
key client-" . $file_id . "-key.pem
ns-cert-type server
verb 3
float
auth-user-pass
";
} else {
......
Name: app-openvpn
Epoch: 1
Version: 2.4.8
Version: 2.4.9
Release: 1%{dist}
Summary: OpenVPN
License: GPLv3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment