Help Center

How to setup a VPN on Mageia 8? OpenVPN setup for Linux

Here is how to set up a VPN (OpenVPN) on your Ubuntu.

Before we start an active ZoogVPN subscription is required and your device must be connected to the Internet.

You need full administrative privileges on your computer.

Step 1 – Get Configuration Files

Go to ‘OpenVPN Configuration Files’ and download the necessary files for any location you would like to use.

Then go back to the home screen of your device operating system and click ‘Settings’.

Make sure you have OpenVPN installed through your terminal.

If it is not installed, follow these simple instructions below.

Install network-manager-openvpn

In your terminal type:

‘sudo apt-get install network-manager-openvpn’

Then press ‘Enter’.

Confirm that you Want to Continue

You will be prompted: “Do you want to continue? Y/N” Type ‘Y’ and hit ‘Enter’.

Restart Network Manager

Once installation is complete, type the following to restart Network Manager:

‘sudo service network-manager restart’

Then press ‘Enter’.

Done. You have successfully installed OpenVPN on your Ubuntu.

Step 2 – Create a connection

After successfully installing OpenVPN, close the terminal and go to Settings > Network > Click the + to create a connection

Choose the OpenVPN option:

Step 3 – Configure a connection

Import the file you downloaded from the ‘OpenVPN Configuration Files’ section

Enter your ZoogVPN account credentials.

Your username is basically the email address of your ZoogVPN account.

Your password is the password you used when creating your ZoogVPN account.

In the Gateway field, enter the address of the server you want to connect to.

You can find all available server addresses in your account by this link.

Step 4 – СA certificate


Save the CA certificate as a ca.pem file and then select it from the drop-down menu

The content of this file should be as follows:

—–BEGIN CERTIFICATE—–

MIIDSzCCAjOgAwIBAgIUWnmAde1gcYxauSzooHOCFtNd8/wwDQYJKoZIhvcNAQEL

BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwHhcNMjIwOTEzMTE0NjI5WhcNMzIw

OTEwMTE0NjI5WjAWMRQwEgYDVQQDDAtFYXN5LVJTQSBDQTCCASIwDQYJKoZIhvcN

AQEBBQADggEPADCCAQoCggEBALgZgLQG5EjHzk1fenk7aoF2YR2BMuUI/mH5X56t

bQu8N5Pqp2GKw2wq/Zqm68gv1vHgNAEzVHplqq66wVlUIgSk/QRrvDt1CC6xP7Ep

1ZXQvopsETwK2i25645t+bKuCVPLoFbLcuQ5QtALkrQN1C39lB5qXDiioLfCt+W6

Q5nx6lRAOq59dhOZ6bFbv274Rb3FX8zKWtr3IV6CVdW6BpZ7IaL9KFiRVeVPaMZB

NjmiiDcoLulrO9adrNO6MohsbpqXGWdbEmvQZu6CUP+AL9hbUY1cHLEGmr7T97y2

Z92aPU1sTFaRBn0uwgLgOu7Im/v3QLOGmMnuz4Y6Q04KGLsCAwEAAaOBkDCBjTAd

BgNVHQ4EFgQUp8VSYd9chyHyGRCftXG0i/rQkFMwUQYDVR0jBEowSIAUp8VSYd9c

hyHyGRCftXG0i/rQkFOhGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBghRaeYB1

7WBxjFq5LOigc4IW013z/DAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkq

hkiG9w0BAQsFAAOCAQEAPWvsNIC+/dxVVkHWEKUYRf4NbX+swpU0DMYxkMS6+W/F

fqTAc5RinyrkYHw3pWsTsuVGQqHexcPefxs/QWKSWp3OnqTMad0kGNKsqNzh/KXj

OgMYYTeV364rsYvLPLMAZXsyG2ZsozcOfVZ4AKCjbIYaA9UQbDRFKIdmNUuonNws

76A0TfQkFSIFB24RqcyIYIPljcI6EetG+JG/PykCII3m5La2uy0cJS3/Yx++AWYj

R8IW1pc1IpFosLJJ5FYr2dmi2LNYOgFrdOMUfBDxlyQsF+gh0kM37cnb9cz0Jgkg

MPy/YqvWZFTUNN0WXqMIntZYIFVAyVcIRcjN5gHI0A==

—–END CERTIFICATE—–

Step 5 – Adjust the configuration

  1. Click Advanced
  2. Make config as on screenshots

Save this text as ta.pem and then select from the dropdown menu

—–BEGIN OpenVPN Static key V1—–

8d85ae9704adcbfece7821f1bdf99cdb

60c5b80e60fc89136cdb96f28e124a1b

14af701b1ef18cc4a4f482167b19bed5

e8048d49a82064d15f49e85e2c7ae6b3

70bd90b7244156c83fd218e893dbbcd1

a5d39a91fab178e154092c8f7e6c97a8

31c7e799868c2cacb6a0af1a8bbc4707

1a05a0260b9c868fe878293c6fc00057

4ca9629df8971d7a010af4f1ef72fcb2

ff10e237a65d7ef2aa8625d4924d3624

03f93e60b0ec32a6580f4ce13d7cad47

27bee35cc79cc16f34f57a22a22c14a4

9ee20dfff2b6421db0087513883c8782

ee463f442c95c5f411b7795074ba5e78

da2a38860b3602e8a395b2cf6820f08b

f57bbbdf6f8eca353e0dfe99e472044d

—–END OpenVPN Static key V1—–

 

 Click OK and save all.

 

IPv6 can be disabled.



Click OK and try to connect.

Enable the connection by pressing the toggle switch.

Enable the connection by pressing the toggle switch.

To simply turn it off, press this toggle again.

Enjoy! You have now taken control of your Internet freedom, privacy, and security.

Don’t forget to connect with us on Facebook and Twitter. We strongly encourage Free Plan users to show their support on social media. Thank you.

Didn’t find an answer to your question? Contact our 24/7 customer support team here.

Comments are closed