-
Notifications
You must be signed in to change notification settings - Fork 14
/
openvpn-sample.onc
41 lines (41 loc) · 1.31 KB
/
openvpn-sample.onc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"Type": "UnencryptedConfiguration",
"NetworkConfigurations": [
{
"GUID": "{<UUID>}",
"Name": "MyOpenVPN",
"Type": "VPN",
"VPN": {
"Type": "OpenVPN",
"Host": "<OpenVPN-Server-Name>",
"OpenVPN":
{
"Auth": "SHA1",
"ClientCertType": "Ref",
"CompLZO": "true",
"Cipher": "BF-CBC",
"NsCertType": "server",
"Port": 1194,
"Proto": "tcp",
"SaveCredentials": true,
"ServerCARef": "{cacert}",
"ClientCertRef": "{clientcert}",
"Verb": "3",
"ServerPollTimeout": 360
}
}
}
],
"Certificates": [
{
"GUID": "{cacert}",
"Type": "Authority",
"X509": "-----BEGIN CERTIFICATE-----Copy your ca.crt here-----END CERTIFICATE-----"
},
{
"GUID": "{clientcert}",
"Type": "Client",
"PKCS12": "Copy you client.crt file here, but only the sections between BEGIN CERTIFICATE and END CERTIFICATE. Skip the actual comment of BEGIN CERTIFICATE and END CERTIFICATE. Also skip the ---- that are before after BEGIN/END"
}
]
}