OLD | NEW |
1 { "GUID": "123", | 1 { "GUID": "123", |
2 "Type": "VPN", | 2 "Type": "VPN", |
3 "Name": "testopenvpn", | 3 "Name": "testopenvpn", |
4 "IPConfigs": [ | 4 "IPConfigs": [ |
5 { "Type": "IPv4", | 5 { "Type": "IPv4", |
6 "IPAddress": "127.0.0.1", | 6 "IPAddress": "127.0.0.1", |
7 "RoutingPrefix": 32 } | 7 "RoutingPrefix": 32 } |
8 ], | 8 ], |
9 "VPN": { | 9 "VPN": { |
10 "Host": "policys host", | 10 "Host": "policys host", |
11 "Recommended": ["Host"], | 11 "Recommended": ["Host"], |
12 "Type": "OpenVPN", | 12 "Type": "OpenVPN", |
13 "OpenVPN": { | 13 "OpenVPN": { |
14 "Port": 1194, | 14 "Port": 1194, |
15 "Username": "policy user", | 15 "Username": "policy user", |
16 "Recommended": [ "Username", "Password" ], | 16 "Recommended": [ "Username", "Password" ], |
17 "ClientCertType": "Pattern", | 17 "ClientCertType": "Pattern", |
18 "ClientCertPattern": { | 18 "ClientCertPattern": { |
19 "IssuerCARef": [ "openvpn-test-ca" ], | 19 "IssuerCARef": [ "openvpn-test-ca" ], |
20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ] | 20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ] |
21 } | 21 } |
22 }, | 22 }, |
23 "IPsec": { | 23 "IPsec": { |
24 "AuthenticationType": "PSK", | 24 "AuthenticationType": "PSK", |
25 "PSK": "sharedkey", | 25 "PSK": "sharedkey", |
26 "IKEVersion": 1 | 26 "IKEVersion": 1 |
27 } | 27 } |
28 } | 28 } |
29 } | 29 } |
OLD | NEW |