Skip to content

Instantly share code, notes, and snippets.

@dboyd13
Last active February 9, 2021 13:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dboyd13/5e439e9c4c7f908ddc1ee79447e18821 to your computer and use it in GitHub Desktop.
Save dboyd13/5e439e9c4c7f908ddc1ee79447e18821 to your computer and use it in GitHub Desktop.
{
"Type":"UnencryptedConfiguration",
"Certificates": [ {
"GUID": "{<GUID#1>}",
"Type": "Authority",
"X509": "<CA_CERT>"
} ],
"NetworkConfigurations": [ {
"GUID": "{<GUID#2>}",
"Name": "<VPN_NAME>",
"Type": "VPN",
"VPN": {
"Type": "OpenVPN",
"Host": "<HOSTHAME>",
"OpenVPN": {
"ServerCARef": "{<GUID#1>}",
"AuthRetry": "interact",
"ClientCertType": "Pattern",
"ClientCertPattern": {
"IssuerCARef": [ "{<GUID#1>}" ]
},
"CompLZO": "true",
"Port": 443,
"Proto": "tcp",
"RemoteCertTLS":"server",
"RemoteCertEKU": "TLS Web Server Authentication",
"SaveCredentials": false,
"ServerPollTimeout": 10,
"Username": "<USERNAME>",
"KeyDirection":"1",
"TLSAuthContents":"<TLS_AUTH_KEY>"
}
}
} ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment