Looking forward to setup a VPN service on Linux mint

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
Ryansege
Level 1
Level 1
Posts: 1
Joined: Wed Apr 18, 2018 5:16 am

Looking forward to setup a VPN service on Linux mint

Post by Ryansege » Wed Apr 18, 2018 6:18 am

Can anyone tell me the best way to set up a VPN service on my Linux Mint platform so if someone has done a set up please let me know how you did it and VPN works best with Linux Platform? Any kind of help will be appreciated.

User avatar
WharfRat
Level 20
Level 20
Posts: 11428
Joined: Thu Apr 07, 2011 8:15 pm

Re: Looking forward to setup a VPN service on Linux mint

Post by WharfRat » Wed Apr 18, 2018 7:19 am

Ryansege wrote:
Wed Apr 18, 2018 6:18 am
Can anyone tell me the best way to set up a VPN service on my Linux Mint platform so if someone has done a set up please let me know how you did it and VPN works best with Linux Platform? Any kind of help will be appreciated.
The easiest setup is with openvpn.

Scroll down this site https://www.ipvanish.com/setup-guides/ for installation guides.

The instructions look more complicated than the actual process of just downloading the configuration files and importing one from network manager.

Other services offer the same procedure so I'm not advocating this service.

Good luck :wink:
ImageImage

User avatar
majpooper
Level 5
Level 5
Posts: 590
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Looking forward to setup a VPN service on Linux mint

Post by majpooper » Wed Apr 18, 2018 11:55 am

OpenVPN is in the linux Mint repositories so pretty safe and easy to install. most VPN providers have instructions how to set the up. Everyone has there favorite VPN - I like Private Tunnel after trying a few others both free (I would say stay away from) and ones you pay a subscription. A really good one that gets kudos from Security Now a great pod-cast that I trust is TunnelBear - how ever I have not tried them as I am very pleased with Private Tunnel.

Pippin
Level 3
Level 3
Posts: 125
Joined: Wed Dec 13, 2017 11:14 am
Location: NL/DE/TH

Re: Looking forward to setup a VPN service on Linux mint

Post by Pippin » Wed Apr 18, 2018 2:04 pm

Ryansege wrote:
Wed Apr 18, 2018 6:18 am
set up a VPN service
So you want to run a OpenVPN server, right?
The best place to start is here:
https://community.openvpn.net/openvpn/w ... twareRepos
https://community.openvpn.net/openvpn/wiki/WikiStart
https://github.com/OpenVPN/openvpn/blob ... ME.systemd
"One good thing about music, when it hits you feel no pain.”
B.M.

User avatar
phd21
Level 16
Level 16
Posts: 6548
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Looking forward to setup a VPN service on Linux mint

Post by phd21 » Wed Apr 18, 2018 3:33 pm

HI Ryansege,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

There are many very good posts on this topic already in this forum if you search for them.

There are many VPN providers to choose from like the excellent low-cost "Private Internet Access (PIA)" and "protonVPN".

The superb and secure "openVPN" protocol and its software to connect to a VPN provider's servers is usually installed already in all editions of Linux Mint. I would recommend updating that to the newer version. "OpenVPN" is also a VPN provider with low-cost options.

vpn - Linux Mint Forums
viewtopic.php?f=90&t=265922&hilit=vpnbook

Network Manager not using VPN - Linux Mint Forums
viewtopic.php?f=53&t=266820&hilit=vpnbook

* Setup openvpn does not work (SOLVED) - Linux Mint Forums - has instructions for updating the "openVPN" software.
viewtopic.php?f=47&t=236784&hilit=openvpn


How to Establish An OpenVPN Connection in Ubuntu
https://timwolverson.wordpress.com/2016 ... inux-mint/

How to Establish An OpenVPN Connection in Ubuntu 14.04 (Linux Mint 17.x)
- note in Linux Mint 18.x, the certificate and key files are automatically generated, yeah!
http://ubuntuhandbook.org/index.php/201 ... untu-1404/


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
majpooper
Level 5
Level 5
Posts: 590
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Looking forward to setup a VPN service on Linux mint

Post by majpooper » Wed Apr 18, 2018 5:42 pm

+1 phd21 excellent post

willieaames
Level 1
Level 1
Posts: 11
Joined: Mon Feb 13, 2017 6:57 am
Location: Denver

Re: Looking forward to setup a VPN service on Linux mint

Post by willieaames » Wed Apr 25, 2018 10:03 am

Ryansege wrote:
Wed Apr 18, 2018 6:18 am
Can anyone tell me the best way to set up a VPN service on my Linux Mint platform so if someone has done a set up please let me know how you did it and VPN works best with Linux Platform? Any kind of help will be appreciated.
Have you tried using the Network manager openvpn-plugin? Heres the steps on vpn configuration using source code:
  • Make sure you have a development environment installed on your system. (e.g. GCC, Autoconf, Make, Libtool, etc.) Many distributions have a package group to install the common development tools. On Arch Linux for example, the command “pacman -S –needed base-devel” will install the packages needed to compile source code.
  • Get the source tar ball or Git sources.
  • Verify GPG signature; why would you go to all the trouble of compiling from source without checking the signature?
  • Unpack the source.
  • Make any customizations.
  • Ensure you have all the required libraries. (e.g. OpenSSL, easy-rsa, LZO)
  • ./configure; make; make install
  • Configure your particular client or server and run!

User avatar
phd21
Level 16
Level 16
Posts: 6548
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Looking forward to setup a VPN service on Linux mint

Post by phd21 » Wed Apr 25, 2018 12:18 pm

Hi majpooper,

Thank you ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
cabbagetreemo
Level 1
Level 1
Posts: 49
Joined: Fri Mar 31, 2017 2:36 am
Location: Spain

Re: Looking forward to setup a VPN service on Linux mint

Post by cabbagetreemo » Mon May 07, 2018 5:21 am

Just an FYI the VPN "TunnelBear" was recently acquired by McAfee... Make of that what you will

dutchenery
Level 1
Level 1
Posts: 23
Joined: Mon Jul 13, 2015 7:00 am

Re: Looking forward to setup a VPN service on Linux mint

Post by dutchenery » Mon May 07, 2018 9:41 am

An interesting question really - obviously OpenVPN is used widely. Also by companies supplying VPN software. The main thing to remember a free VPN is not advisable.Why? Well why do you want a VPN in the first place? Free VPN companies have to make some money, up to you to figure out how. So, use a company like PIA although they are not the only good ones. But it is easy to set up on Linux. Costs about £50 or so quid annually. They have quite a number of servers. Simply download and follow the instructions from:
https://www.privateinternetaccess.com/i ... ller_linux

User avatar
AZgl1500
Level 8
Level 8
Posts: 2019
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Looking forward to setup a VPN service on Linux mint

Post by AZgl1500 » Mon May 07, 2018 10:32 am

I have tried to setup Open VPN time and time again on 18.3 Cinnamon and it just is not working.

So, I started looking around, and discovered Windscribe
https://windscribe.com/guides/linux#how-to

This is the MOST PAIN FREE VPN setup that I have ever seen.
phd11 Phill has worked with me privately setting up VPNs, and they don't keep working, and they have never blocked my Local IP Address.

With Windscribe, all you do is copy the Terminal Commands one at a time,
and it sets up your VPN correctly!!!

By this, I mean that for the VERY FIRST TIME, my local ISP IP address does NOT show up anymore.
Windscribe VPN Working.png
Windscribe VPN Working.png (18.25 KiB) Viewed 632 times
Honest to gawd, this is the very first time, that I have gone to https://whatismyipaddress.com/

and they did not show two separate addresses for me, the VPN address, and my local IP address,
not today, all they are seeing now is Windscribe's IP address in Dallas, Texas and I am in Oklahoma.

User avatar
AZgl1500
Level 8
Level 8
Posts: 2019
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Looking forward to setup a VPN service on Linux mint

Post by AZgl1500 » Mon May 07, 2018 11:17 am

Hmmmm,

browsed around for a while, and then I noticed that Facebook won't load, and Imgur won't load up.
got a message that site can't be reached.

might be great for just text type stuff, but you can't access sites that have a lot of images on them.
oh well, 'free' is not always free, they have a disclaimer stating what you can and can't do.

their Premium paid service is cheaper than the PureVPN that I used to have, and PureVPN did NOT hide my local IP address.... something that Windscribe is doing successfully.

User avatar
phd21
Level 16
Level 16
Posts: 6548
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Looking forward to setup a VPN service on Linux mint

Post by phd21 » Mon May 07, 2018 12:06 pm

HI Ryansege, AZgl1500, and everyone else,

I have been researching and helping people like the Linux Mint forum members with VPN's for years now. Pretty much 99% of the time I am successful with this even though some of the VPN providers have special configuration requirements.

Whenever I connect to a VPN, it always changes my "public" IP address which is exactly what it is supposed to do. Keeping in mind there are 2 system IP addresses, your local IP address which displays your computer or device on your local area network (lan) and usually starts with 192.168.xxx.xxx and the external or "public' IP address which is what everyone else on the Internet sees like websites, etc... The public IP address is what gives away a lot of information about where you are located, who you are, & what you are doing on the Internet which is why using a VPN provider is such an important security measure to use because it is supposed to change your public IP address and encrypt all your Internet activity.

It is really pretty easy to setup a VPN server connection for most VPN provider's servers assuming there is nothing wrong with your Linux Mint system or your computer hardware (WiFi adapter or Ethernet lan adapter), and Linux Mint already comes with the secure "openVPN" VPN connection protocol software already installed.

Although there are good video and written tutorials available for adding a VPN connection to your Linux Mint system, I have decided to create my own tutorial for this, and I will post a link to that as soon as I finish it.

FYI: "Windscribe" is another VPN provider offering free and or paid for service. Their free service is limited to 10gb per month whereas there are other free VPN providers with no usage limits.

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
AZgl1500
Level 8
Level 8
Posts: 2019
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Looking forward to setup a VPN service on Linux mint

Post by AZgl1500 » Mon May 07, 2018 12:25 pm

Phil,
I just tried to follow a tutorial you wrote and referenced up above, but it does not apply to Mint 18.3 Cinnamon...

it will NOT import an Open VPN file, it says "this ..... can't import files"
forgot to make a picture of that.

I just now, tried to use Windscribe again:

john@john-TP500LA ~ $ windscribe connect
Connecting to US Central Dallas Ranch (UDP:443)
Firewall Enabled
Connected to US Central Dallas Ranch
Your IP changed from 108.208.xx.yy to 198.55.125.205
john@john-TP500LA ~ $

but, no connections to any website is possible??

something is not working right.

rebooted the PC, opened Terminal, hit the 'up arrow' which brought up the old connect link and it seems to have connected to the VPN server, as you can see up above. it is a different IP address than it gave me earlier.

but, I am not getting a data connection to anything, I have to Control-ALT-Backspace and reboot Cinnamon and connect w/o the VPN to get to the internet.

any ideas on what is going on?

User avatar
AZgl1500
Level 8
Level 8
Posts: 2019
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Looking forward to setup a VPN service on Linux mint

Post by AZgl1500 » Mon May 07, 2018 3:42 pm

Another wrinkle with using VPN.

I can't access my network printers anymore, both of them say "Inaccessible"

And, my cellphone won't transfer files to my laptop anymore either.

This VPN thing is getting to be way more trouble than it is worth.

User avatar
phd21
Level 16
Level 16
Posts: 6548
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Looking forward to setup a VPN service on Linux mint

Post by phd21 » Thu May 17, 2018 8:42 pm

Hi Everyone Interested in this,

I created a video tutorial for adding a VPN connection using the "openVPN" software including how to change your local ISP connection's DNS server IP addresses.

I am using ancient under-powered computer hardware, so please excuse any slowness or sound hiccups. This is a lengthy video, so if you want to skip some of the dialog, you can skip ahead in the video to where you see the Linux Mint desktop's Network Manager being accessed.

Linux Mint 18.x How to add a VPN connection and change DNS Server IP addresses - YouTube
https://www.youtube.com/watch?v=o8ajoFk ... e=youtu.be

https://youtu.be/o8ajoFkdeuE

FYI: I may redo this video at some point, and create another one specifically for KDE users.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Other topics”