img

Holiday Special 88% OFF

PureVPN is now Zero-Log Certified by Altius IT, one of the leading independent US-based Auditors. Read More 

OpenVPN Configuration Guide for Linux Mint

Jun 04, 2015
Mar 27, 2019
31 Comments
Download PDF

Linux Mint is arguably the most convenient and elegant GNU/Linux desktop distribution. It’s very easy to use, but the best part is that the software is regularly updated.

Things to Consider:

Before you begin, please make sure that:

  • A working internet connection
  • Linux Mint Supported Device.
  • A Premium PureVPN account (if you haven’t bought it yet, click here to buy)

Just follow the below mentioned steps to configure OpenVPN on Linux Mint:

1 Open Terminal. Insert command:

sudo apt-get install network-manager-openvpn

and hit enter. Provide your Mint password and hit enter again.

Linux mint openvpn

2 Type “Y” and enter to continue

openvpn for linux mint

3 Insert command:

sudo apt-get install network-manager-openvpn-gnome

and hit enter.

mint openvpn

4 Insert command:

sudo restart network-manager

and hit enter.

linux mint openvpn

5 Download and extract OpenVPN files from here

openvpn for linux mint

6 Click on “Network Connection” and select “Network Settings

mint openvpn

7 Click on “+

openvpn for linux mint

8 Click “Create

openvpn for linux mint

9 Select “OpenVPN” and click “Create

openvpn for linux

10 Insert the following info:

  • Insert Connection name: PureVPN OpenVPN
  • Insert desired Gateway:Open .ovpn file from OpenVPN folder to get the server address
  • Select Type: Password from drop down menu
  • Insert Username provided by PureVPN
  • Insert Password provided by PureVPN
  • Click on folder icon from CA Certificate

11 Go to OpenVPN downloaded folder, select ca.crt and click “Open

openvpn linux mint

12 Click “Advanced.

13 From General tab select following options:

  • Check Use custom gateway port: For UDP insert 53 and For TCP insert 80
  • Check Use LZO data compression

Note: For TCP connectoin select Use a TCP connection

13

14 From Security tab select following options:

  • From Cipher: Select AES-256-CBC or desired encryption
  • From HMAC Authentication: Select SHA-1

openvpn for linux mint

15 Form TLS Authentication tab:

  • Select Use additional TLS authentication
  • Click on folder icon next to Key File

openvpn

16 Go to OpenVPN downloaded folder, select Wdc.key and click “Open

openvpn for linux mint

17 Select “1” from Key Direction and Click  “OK

openvpn for linux mint

18 Click “Save…

19 Click on “PureVPN OpenVPN” Connection and Click on switch to “Turn ON” VPN

openvpn for linux mint

20 You are connected now. Enjoy the FREEDOM!

openvpn for mint

 

To Disconnect VPN:

  • Click  “Network Connection Icon…” and click switch to “Turn OFF” VPN.

Caution: If you are looking for higher security, then please follow this guide to disable your IPv6

Please use the comment box for your suggestions & feedback. For additional help, please submit support ticket with errors and screen shots (if possible) OR Contact our 24/7 live chat.

No Yes

Comments (31 )

31 Comments

  1. Mike says:

    Ꮩery nicе article. I absolutelү appreciate this site.
    Continue the good ԝork!
    Going Here : How To Lock Files The Marine Way

  2. smellit says:

    Meant to reply to another comment…unbelievable can’t remove my own comment…..Great configuration

  3. PureVPN Team says:

    We are sorry that have not succeeded to help you yet but we will make sure you get connected ASAP.

    Kindly share your logs with us so we may analyze the problem in better way and assist you accordingly

    Logs command: cat /var/log/messages OR cat /var/log/syslog

  4. NoWayFaceBook says:

    Has anyone got this to work ? If you scroll down you will see 7 months ago I could not connect and I still can`t . This is beyond unacceptable . All PureVPN come back with it ” am very sorry you faced this issue but do not worry at all we are here to help you out, I would suggest you to connect with this server ” This just flat out don`t work

  5. john garcia says:

    good day to you dear sir/madame,

    I would like to ask where could I get the username and password for the authentication. Please help me. Thank you very much.

    • PureVPN Team says:

      Hi John,

      We are sorry for the inconvenience. Can you please share your Invoice no or Payment slip with us at [email protected] so we may be able to send your Username and Password.

      Thanks for understanding!

  6. PureVPN Team says:

    Hi,

    Thanks for reaching out. We have Linux Fedora tutorial (PPTP) please have a look at this page and see if it helps https://support.purevpn.com/fedora-vpn

    Feel free to reach out if you have any questions!

  7. Gee says:

    Please add a tutorial on how to use the OpenVPN protocol for Linux Fedora, thanks in advance 🙂

  8. Jenny A says:

    Here’s how I managed to fix the “Connection Timed Out” problem …
    I disabled IPv6 as per the instructions linked on this page.
    In the “General” tab (left of “VPN” tab), I ticked the option “All Users May Connect To This Network”.
    Then in the “IPv4 Settings” tab (right of “VPN” tab), I added “Additional DNS Servers” …
    8.8.8.8,8.8.4.4
    That did the trick. Since the .opvn files are using host names rather than IP addresses, you’ve got to have some DNS servers to resolve the host names. Bingo!

  9. PureVPN Team says:

    Hi Richard,

    We apologies for the inconvenience. Can you please connect using PPTP and check if it is working.

  10. richard says:

    am getting a timeout error why?on the gateway i have used my server ip address

  11. richard says:

    how to get purevpn gateway?

  12. PureVPN Team says:

    Hi,

    Thanks for using PureVPN. We are Glad, we could help you with Linux Support.

    Keep giving us your precious feedback, we really appreciate it!

  13. PureVPN Team says:

    Hi Bob,

    Thanks for using PureVPN. We are Glad, we could help you with Linux Support.

    Keep giving us your precious feedback, we really appreciate it!

  14. Bob H says:

    Worked like a charm for Linux Mint 17 Mate desktop on my older
    Dell Latitude laptop. The screenshots above are from the Cinnamon
    desktop, but with a little careful exploring, you can find the
    important windows in Mate DE where config info needs to be entered.
    Connecting to the VPN after configuration is completed (presented
    above as “turning on” the VPN connection), can be performed
    in Mate by left-clicking network icon in toolbar at bottom right of
    desktop, clicking on “VPN connections” in drop-down menu,
    then clicking on “PureVPN OpenVPN” in sub-menu. It takes
    3-5 seconds for the connection to be made, and a tiny padlock appears
    next to the icon, indicating the encrypted tunnel is up and running.
    Very cool.
    I first set up the VPN using a wired connection (successful), then
    disconnected from the VPN, then disconnected my ethernet cable, then
    reconnected to the VPN using WiFi only, and again success. Sweet!
    Surfing through the VPN is surprisingly fast here in upstate New
    York!
    Thanks for the linux support, PureVPN. Nice job!

  15. Bob H says:

    Worked like a charm for Linux Mint 17 Mate desktop on my older Dell Latitude laptop. The screenshots above are from the Cinnamon desktop, but with a little careful exploring, you can find the important windows in Mate DE where config info needs to be entered. Connecting to the VPN after configuration is completed (presented above as “turning on” the VPN connection), can be performed in Mate by left-clicking network icon in toolbar at bottom right of desktop, clicking on “VPN connections” in drop-down menu, then clicking on “PureVPN OpenVPN” in sub-menu. It takes 3-5 seconds for the connection to be made, and a tiny padlock appears next to the icon, indicating the encrypted tunnel is up and running. Very cool.
    I first set up the VPN using a wired connection (successful), then disconnected from the VPN, then disconnected my ethernet cable, then reconnected to the VPN using WiFi only, and again success. Sweet!

    Surfing through the VPN is surprisingly fast here in upstate New York!
    So long, packet sniffers.
    Thanks for the linux support, PureVPN. Nice job, folks!

  16. PureVPN Team says:

    Hi Billy,

    I am very sorry you faced this issue but do not worry at all we are here to help you out, I would suggest you to connect with this server usca1-ovpn-udp.pointtoserver.com and use port 53 UDP. This should resolve the issue. In case, you still face any problem, feel free to join us on live chat, we will be happy to assist you.

    Thanks for being patient!

  17. NoWayFaceBook says:

    This so don`t work .And don`t come back with what is the error ..It is the same as everyone else “Timed out” I followed the instructions to a T 4 times ..

  18. Mohamad Yassine says:

    Have you fixed it? When you click on the connection button on the bottom right screen you have to click on “Network Connection” instead of the settings and proceed from there. So far I got is a connection timeout.

  19. Mohamad Yassine says:

    I installed Linux Mint 17.3 and followed those exact steps, but the connection is timing out. Any suggestion?

  20. PureVPN Team says:

    Hi,

    I really apologies for the inconvenience. We do understand the need of a software for Linux and we are working on it, hopefully it will be available soon. Meanwhile, you face any issue I would request you to join us on live chat, we are here 24/7 to assist you.

  21. Tadas Kalpokas says:

    How do you expect my grandmother to go through all this! Stone age. And where is user interface like in windows or mac?

  22. PureVPN Team says:

    Hi,

    I extremely apologies for the inconvenience. Can you kindly send us complete screenshots of the options you are seeing at [email protected] so we may assist you accordingly.

    Thanks for for being patient!

  23. Dice シ says:

    How does the PureVPN get into the picture when you follow this guide? Something is missing! Where is guide to install PureVPN? This is the guide to OpenVPN Right?

  24. PureVPN Team says:

    Hi,

    Thanks for reaching out to us. Kindly tell us on which device you would like to us VPN and for what purpose, so we can assist you in better way.

    Thanks!

  25. PureVPN Team says:

    Hi,

    I am sorry for the inconvenience. Can you share the error with us? So we can assist you in better way.

  26. David Campbell says:

    wont run. Trys to connect then fails after approx 30-40 seconds

  27. Giggle says:

    Do i really have to go through all this, just to use VPN?