Home | History | Annotate | Download | only in network
      1 {
      2    "GUID": {
      3       "DevicePolicy": "123",
      4       "Effective": "UserPolicy",
      5       "UserPolicy": "123"
      6    },
      7    "IPConfigs": {
      8       "DevicePolicy": [ {
      9          "IPAddress": "127.0.0.1",
     10          "Type": "IPv4"
     11       } ],
     12       "Effective": "UserPolicy",
     13       "UserPolicy": [ {
     14          "IPAddress": "127.0.0.1",
     15          "RoutingPrefix": 32,
     16          "Type": "IPv4"
     17       } ],
     18       "UserSetting": [ {
     19          "IPAddress": "127.0.0.1",
     20          "SearchDomains": [ "acme.org" ],
     21          "Type": "IPv4"
     22       }, {
     23          "IPAddress": "1.2.3.4",
     24          "Type": "IPv4"
     25       } ]
     26    },
     27    "Name": {
     28       "DevicePolicy": "testopenvpn",
     29       "Effective": "UserPolicy",
     30       "UserPolicy": "testopenvpn",
     31       "UserSetting": "testopenvpn"
     32    },
     33    "ProxySettings": {
     34       "Type": {
     35          "Effective": "UserPolicy",
     36          "UserSetting": "Direct"
     37       }
     38    },
     39    "Type": {
     40       "DevicePolicy": "VPN",
     41       "Effective": "UserPolicy",
     42       "UserPolicy": "VPN",
     43       "UserSetting": "Ethernet"
     44    },
     45    "VPN": {
     46       "Host": {
     47          "DeviceEditable": true,
     48          "DevicePolicy": "device policys host",
     49          "Effective": "UserSetting",
     50          "UserEditable": true,
     51          "UserPolicy": "policys host",
     52          "UserSetting": "users host"
     53       },
     54       "IPsec": {
     55          "AuthenticationType": {
     56             "Effective": "UserPolicy",
     57             "UserPolicy": "PSK"
     58          },
     59          "IKEVersion": {
     60             "Effective": "UserPolicy",
     61             "UserPolicy": 1
     62          },
     63          "PSK": {
     64             "Effective": "UserPolicy",
     65          }
     66       },
     67       "OpenVPN": {
     68          "ClientCertPattern": {
     69             "EnrollmentURI": {
     70                "DeviceEditable": true,
     71                "UserEditable": true
     72             },
     73             "IssuerCARef": {
     74                "DeviceEditable": true,
     75                "DevicePolicy": [ "openvpn-test-ca" ],
     76                "Effective": "UserPolicy",
     77                "UserEditable": true,
     78                "UserPolicy": [ "openvpn-test-ca" ]
     79             }
     80          },
     81          "ClientCertType": {
     82             "DevicePolicy": "Pattern",
     83             "Effective": "UserPolicy",
     84             "UserPolicy": "Pattern"
     85          },
     86          "Password": {
     87             "DeviceEditable": true,
     88             "Effective": "UserSetting",
     89             "UserEditable": true,
     90             "UserSetting": "users password"
     91          },
     92          "Port": {
     93             "DeviceEditable": true,
     94             "DevicePolicy": 0,
     95             "Effective": "UserPolicy",
     96             "UserPolicy": 1194,
     97             "UserSetting": 1195
     98          },
     99          "Username": {
    100             "DevicePolicy": "device user",
    101             "Effective": "DevicePolicy",
    102             "UserEditable": true,
    103             "UserPolicy": "policy user"
    104          },
    105          "ServerCARefs": {
    106             "UserPolicy": ["ref1", "ref2"],
    107             "Effective": "UserPolicy"
    108          }
    109       },
    110       "Type": {
    111          "DevicePolicy": "OpenVPN",
    112          "Effective": "UserPolicy",
    113          "UserPolicy": "OpenVPN",
    114          "UserSetting": "OpenVPN"
    115       }
    116    }
    117 }
    118