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