OLD | NEW |
1 { "GUID": "123", | 1 { "GUID": "123", |
2 "Type": "VPN", | 2 "Type": "VPN", |
3 "Name": "testopenvpn", | 3 "Name": "testopenvpn", |
4 "IPConfigs": [ | 4 "StaticIPConfig": { |
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 "ServerCARefs": ["ref1", "ref2"] | 22 "ServerCARefs": ["ref1", "ref2"] |
23 }, | 23 }, |
24 "IPsec": { | 24 "IPsec": { |
25 "AuthenticationType": "PSK", | 25 "AuthenticationType": "PSK", |
26 "PSK": "sharedkey", | 26 "PSK": "sharedkey", |
27 "IKEVersion": 1 | 27 "IKEVersion": 1 |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
OLD | NEW |