mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 10:59:53 +03:00
Update Interop_OpenVPN.h
Safer connection
This commit is contained in:
parent
4df2eb4f9c
commit
f7f05420af
@ -139,8 +139,8 @@
|
|||||||
|
|
||||||
|
|
||||||
// The default algorithm
|
// The default algorithm
|
||||||
#define OPENVPN_DEFAULT_CIPHER "AES-128-CBC"
|
#define OPENVPN_DEFAULT_CIPHER "AES-256-CBC"
|
||||||
#define OPENVPN_DEFAULT_MD "SHA1"
|
#define OPENVPN_DEFAULT_MD "RMD160"
|
||||||
|
|
||||||
// Encryption related
|
// Encryption related
|
||||||
#define OPENVPN_PREMASTER_LABEL "OpenVPN master secret"
|
#define OPENVPN_PREMASTER_LABEL "OpenVPN master secret"
|
||||||
@ -312,7 +312,7 @@ struct OPENVPN_SERVER_UDP
|
|||||||
};
|
};
|
||||||
|
|
||||||
// OpenVPN Default Client Option String
|
// OpenVPN Default Client Option String
|
||||||
#define OVPN_DEF_CLIENT_OPTION_STRING "dev-type tun,link-mtu 1500,tun-mtu 1500,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client"
|
#define OVPN_DEF_CLIENT_OPTION_STRING "dev-type tun,link-mtu 1500,tun-mtu 1500,cipher AES-256-CBC,auth RMD160,keysize 128,key-method 2,tls-client"
|
||||||
|
|
||||||
|
|
||||||
//// Function prototype
|
//// Function prototype
|
||||||
|
Loading…
Reference in New Issue
Block a user