OLD | NEW |
1 { "GUID": "guid", | 1 { "GUID": "guid", |
2 "Type": "VPN", | 2 "Type": "VPN", |
3 "Name": "MyL2TPVPN", | 3 "Name": "MyL2TPVPN", |
4 "VPN": { | 4 "VPN": { |
5 "Type": "L2TP-IPsec", | 5 "Type": "L2TP-IPsec", |
6 "Host": "some.host.org", | 6 "Host": "some.host.org", |
7 "IPsec": { | 7 "IPsec": { |
8 "AuthenticationType": "PSK", | 8 "AuthenticationType": "PSK", |
9 // This field is part of ONC (and is required). However, it does not | 9 // This field is part of ONC (and is required). However, it does not |
10 // exist explicitly in the Shill dictionary. As there is no use-case yet | 10 // exist explicitly in the Shill dictionary. As there is no use-case yet |
11 // that requires reconstructing this field from a Shill dictionary, we | 11 // that requires reconstructing this field from a Shill dictionary, we |
12 // don't translate it. | 12 // don't translate it. |
13 // "IKEVersion": 1, | 13 // "IKEVersion": 1, |
14 "PSK": "some_preshared_key", | 14 "PSK": "some_preshared_key", |
15 "SaveCredentials": true, | 15 "SaveCredentials": true, |
16 "XAUTH": { | 16 "XAUTH": { |
17 "Username": "some xauth username", | 17 "Username": "some xauth username", |
18 "Password": "some xauth password" | 18 "Password": "some xauth password" |
19 } | 19 } |
20 }, | 20 }, |
21 "L2TP": { | 21 "L2TP": { |
22 "Username": "some username", | 22 "Username": "some username", |
23 "Password": "some password", | 23 "Password": "some password", |
| 24 "LcpEchoDisabled": true, |
24 }, | 25 }, |
25 } | 26 } |
26 } | 27 } |
OLD | NEW |