Skip to content

Instantly share code, notes, and snippets.

@rismoney
Created February 24, 2016 01:49
Show Gist options
  • Save rismoney/df566e05223342123173 to your computer and use it in GitHub Desktop.
Save rismoney/df566e05223342123173 to your computer and use it in GitHub Desktop.
{
"Type": "UnencryptedConfiguration",
"NetworkConfigurations": [
{
"GUID": "{guid1}",
"Name": "foo",
"Type": "VPN",
"VPN": {
"Type": "OpenVPN",
"Host": "foo.myqnapcloud.com",
"OpenVPN":
{
"ClientCertType": "None",
"CompLZO": "true",
"Cipher": "AES-128-CBC",
"NsCertType": "server",
"Port": 1194,
"Proto": "udp",
"SaveCredentials": true,
"ServerCARef": "{guid2}",
"Verb": "3",
"ServerPollTimeout": 360
}
}
}
],
"Certificates": [
{
"GUID": "{guid2}",
"Type": "Authority",
"X509": "-----BEGIN CERTIFICATE-----contents of ca.crt-----END CERTIFICATE-----"
}
]
}
guid1 and guid2 for L5, L20, L29. L20 and L29 need to match. They can be generated here:
https://www.uuidgenerator.net/
Cipher is medium security setting on QNAP
Change the names on L6 and L10 for your QNAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment