Skip to content

Instantly share code, notes, and snippets.

@dctrwatson
Last active June 21, 2019 23:51
Show Gist options
  • Save dctrwatson/0c14fe89a5494d4efd553ff0d633d1fc to your computer and use it in GitHub Desktop.
Save dctrwatson/0c14fe89a5494d4efd553ff0d633d1fc to your computer and use it in GitHub Desktop.
Open Network Config for Mullvad OpenVPN

Natively connect to Mullvad OpenVPN servers with ChromeOS.

Usage

  1. Download the example ONC file
  2. Open the file with Text and update Username with your account number
  3. Open chrome://net-internals/#chromeos
  4. Import the ONC file

Tip

Change us.mullvad.net with other servers or groups from the Mullvad Servers List

Don't forget to update the GUID and Name for each entry.

{
"Type": "UnencryptedConfiguration",
"NetworkConfigurations": [{
"GUID": "us.mullvad.net",
"Name": "Mullvad US",
"Type": "VPN",
"VPN": {
"Type": "OpenVPN",
"Host": "us.mullvad.net",
"OpenVPN": {
"Username": "MULLVAD ACCOUNT NUMBER",
"Port": 1194,
"Proto": "udp",
"Cipher": "AES-256-CBC",
"RenegSec": 0,
"ServerPollTimeout": 10,
"RemoteCertTLS": "server",
"ServerCARefs": [
"Mullvad Transition-Intermediate CA v1",
"Mullvad Root CA v2"
],
"UserAuthenticationType": "Password",
"Password": "m",
"SaveCredentials": true,
"ClientCertType": "None"
}
}
}],
"Certificates": [{
"GUID": "Mullvad Root CA v2",
"Type": "Authority",
"X509": "MIIGIzCCBAugAwIBAgIJAK6BqXN9GHI0MA0GCSqGSIb3DQEBCwUAMIGfMQswCQYDVQQGEwJTRTERMA8GA1UECAwIR290YWxhbmQxEzARBgNVBAcMCkdvdGhlbmJ1cmcxFDASBgNVBAoMC0FtYWdpY29tIEFCMRAwDgYDVQQLDAdNdWxsdmFkMRswGQYDVQQDDBJNdWxsdmFkIFJvb3QgQ0EgdjIxIzAhBgkqhkiG9w0BCQEWFHNlY3VyaXR5QG11bGx2YWQubmV0MB4XDTE4MTEwMjExMTYxMVoXDTI4MTAzMDExMTYxMVowgZ8xCzAJBgNVBAYTAlNFMREwDwYDVQQIDAhHb3R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yG53l37fuZGjrp70tYQfl8676lTyFyZVBF7tAFrJwc1K92d1JnMbyHzyR7LzZr/7tB3w7eIR8Q7TiBAe9eHleMlmK975ivcAhrY0fJ+BO8xgw6KE7dOI1jeeff5wF/2KmXybeq2M1phA3KGy+sxc8KrLCVHfXfOnv+b9HRKDqE4/c3ALMVHXir9sXDyY5bH7jcOGyVQTPI5ZLxvjndunCkXG595pJqDqUWXS8BYcFExIfIQuJ5omt+tyM9U17yOPvwTyadbRW2m7LIcTwPEwC3IUHCUQzqLZkmF2pCQa8hV2bq3eK/hV1mHvFbfZcQ+TPl8vl4cRT92vLQGGy51D9t8bVs4bBET0DSPivVcnMqkSOvAz7xdXqya36iri27iI3aUdBI/XihT1LkxAJhas9YBt+T2xz7xN+WU/ImB+Cq+sHnJNIcB+wE50/rBb+gTaOpEx80Onq277N3TUByVLjCztl1J6cWIy1XObhRVgXLUcTB6/Z/zRblHt7f/f5TTUmAwMc+VwvnjpweSV98DpP0MLV6ZEpmh/ij0Dwpc6IoD8uLwvyq9jhkSAki5LHO2t1mw0jIjtncxEq/9RmrVP1e3/weYvyhy1T4Mq4NCcPGFR0+TUxbjSUGVUuHIPxiR+XptxDWguRhwSYEKSy3EwfOMc="
}]
}
@dctrwatson
Copy link
Author

So far tested on a Pixelbook v72

@foxmajik
Copy link

Certificate is no longer valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment