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
|
{ "GUID": "guid",
"Type": "VPN",
"Name": "MyL2TPVPN",
"VPN": {
"Type": "L2TP-IPsec",
"Host": "some.host.org",
"IPsec": {
"AuthenticationType": "PSK",
// This field is part of ONC (and is required). However, it does not
// exist explicitly in the Shill dictionary. As there is no use-case yet
// that requires reconstructing this field from a Shill dictionary, we
// don't translate it.
// "IKEVersion": 1,
"PSK": "some_preshared_key",
"SaveCredentials": true,
"XAUTH": {
"Username": "some xauth username",
"Password": "some xauth password"
}
},
"L2TP": {
"Username": "some username",
"Password": "some password",
},
}
}
|