Skip to comments.
Introduction To VPN And Here Is How to Use It In Linux
LinuxandUbuntu ^
| 10/26/17
Posted on 10/26/2017 4:14:19 PM PDT by markomalley
A VPN, or Virtual Private Network, is a security concept designed to allow remote users to connect to a particular local network to the internet via a secure tunnel. In simpler terms, a VPN is an encrypted connection between two (or more) remote computers.
The main two applications of this technology are either employee who are working remotely yet require access to their companys network resources, or privacy-minded home users who wish to keep their web traffic protected from any prying eyes that may be watching. VPNs are very commonplace in todays always-online world, and most (if not all) operating systems come with some VPN functionality built in. While there can sometimes be slight differences between distros and desktop environments, you will generally find VPN configuration options in the same place you configure the rest of your network settings. Keep in mind that you may experience a drop in network speeds while connected to your VPN, but such is the price for security.
What Youll Need
The first thing youll need to configure and connect to a VPN is a computer on the other end of the tunnel to connect to, be it your companys VPN server or a public VPN provider (although if youre trying to connect to your companys intranet, you should probably just let your companys Sysadmin(s) handle it). A quick Google search will find many public VPN providers that will allow you to use their services for a nominal fee.
Finding the best provider is up to you, do your research, read reviews, and see what fits your budget. For anonymity purposes, youll want to find a provider that does not keep any logs of network traffic whatsoever (or at least, claims to not keep logs, unfortunately, youll probably just have to take their word for it). Depending on your location, it may even be a good idea to find a provider that operates outside of your countrys jurisdiction, in the event that your web traffic is subpoenaed for some reason. While this may not absolutely prevent a subpoena from being fulfilled, it may at least add some extra paperwork and processing time for the guys that want your information. And of course, if your chosen VPN provider truly does not log any network traffic anyway, then it wont matter. But why make it easier for the powers that be, right?
Get Connected
Once youve figured out who or what youre connecting to, then its time to actually configure the connection, assuming that your VPN service of choice doesnt use some sort of proprietary software application (like Ciscos AnyConnect, for example); in which case just follow the documentation from your VPN provider. However, for most situations, you can just use the built-in network management service that comes with your distro. For Ubuntu (Unity) and Linux Mint (Cinnamon), the popular NetworkManager is installed by default. I also went with NetworkManager for my GNOME Desktop running on my Arch Linux installation, simply because it was the most familiar to me.
According to Ubuntus official documentation, you may need to install an additional network-manager package to work with your particular VPN. However, most of the time, you can just click the network connections icon in the top right of the status bar, and on the drop-down menu youll see VPN Connections>Add a VPN connection. If this doesnt work, you can also go to Settings>Network, and click the plus sign at the bottom left corner of the window to add a new network connection. Select VPN from the interface, and by default, youll likely only have the Point-to-Point Tunneling Protocol (PPTP) option available. If your VPN utilizes PPTP, you can now enter the connection info provided to you by your VPN such as Gateway, username/password, etc. If youre not using PPTP, then you may have to search for additional software packages that support your particular connection protocol. Once all the necessary information has been configured, you can toggle your VPN connection on and off directly from the status bar.
On Linux Mint, the process is quite similar. Go to System Settings>Network, and youll see a Network Settings window thats almost identical to Ubuntu. As with Ubuntu, click the plus sign to add a new network connection, select VPN from the list of connection types, and by default youll have the pre-installed choices of connecting via OpenVPN or the same PPTP connection that we saw in Ubuntu. Whichever your VPN providers documentation says to choose, select it and provide the required connection information given to you by your VPN provider. Once all the necessary information is configured, you should be all set. You can also toggle your VPN connection on and off like you would your Wi-Fi or Bluetooth connections.
If youre using a different desktop environment or even a different distro altogether, it's best to first consult your distros documentation (especially if youre an Arch Linux user like me), however the process will still be essentially the same: Find your network connections, add a VPN connection, select the needed protocol that your VPN connection will use, and supply the required configuration information. After that, youll be free to work and/or browse knowing that your connection is secure and private *. Just hope that your VPN provider is telling the truth and really isnt logging your network activity.
Conclusion
VPNs are a great security and privacy tool that arent too difficult to use. Just a few clicks and youre connected and ready to browse to your hearts content; just make sure youre using a secure connection protocol). Technology is constantly progressing and changing, and in todays world, it pays to be in the know about new technological advances, particularly when it comes to privacy and security. Do your research, read your distros documentation, and subscribe to LinuxandUbuntu for more articles, tutorials, and reviews!
TOPICS: Computers/Internet
KEYWORDS: linux; openvpn; security; vpn
Navigation: use the links below to view more comments.
first 1-20, 21-40, 41-43 next last
To: markomalley
These are mandatory as far as I’m concerned.
2
posted on
10/26/2017 4:16:01 PM PDT
by
SWAMP-C1PHER
(HOMO, OECONOMIA, ET CIVITAS.)
To: markomalley
3
posted on
10/26/2017 4:20:50 PM PDT
by
taxcontrol
(Stupid should hurt)
To: markomalley
Opera browser now has VPN built in. It can access about 5 world-wide locations FREE [US, Canada, Singapore, Netherlands, Germany]. Additional locations are available for a pay-upgrade.
FYI
4
posted on
10/26/2017 4:23:48 PM PDT
by
TomGuy
To: TomGuy
There is also a Firefox / Waterfox add-on called Voxx. It provides VPN through a large list of countries. It’s free.
Our ISP address got blocked by John Rob a while ago when they were having problems with attacks. Using Voxx or Opera is the only way we can now access FR.
Both work fine.
5
posted on
10/26/2017 4:37:56 PM PDT
by
2111USMC
(Aim Small Miss Small)
To: markomalley
6
posted on
10/26/2017 4:38:28 PM PDT
by
Dr. Sivana
(There is no salvation in politics.)
To: markomalley
Linux Mint has it’s own dedicated Private Internet Access client called PIA Manager. Mint 18.3 will have a usermode PIA client.
https://blog.linuxmint.com/
Also consider Torguard. They have a standalone linux client that just works. No configuration needed. Neither log or are US dependent.
You should get a vpn before you even have internet access. It’s mandatory. With all the trackers, crazy laws, and hostile governments trying to bend people over, you have to have this now. Otherwise, everything you type will be aggregated for future use when you can least protect yourself.
PS- Windows 10 is literaaly spyware in a OS wrapper. Get off it.
7
posted on
10/26/2017 4:38:36 PM PDT
by
JFoobar
To: markomalley
8
posted on
10/26/2017 4:41:19 PM PDT
by
chuckles
To: JFoobar
Linux Mint has its own dedicated Private Internet Access client called PIA Manager. Mint 18.3 will have a usermode PIA client. I know, I'm using it right now.
Also consider Torguard. They have a standalone linux client that just works. No configuration needed. Neither log or are US dependent.
Sadly, the trouble with TOR is that there are a WHOLE lot of sites that don't particularly like TOR and block them.
PS- Windows 10 is literaaly spyware in a OS wrapper. Get off it.
Indeed. Thus I've been using Linux Mint for several years.
9
posted on
10/26/2017 4:41:57 PM PDT
by
markomalley
(Nothing emboldens the wicked so greatly as the lack of courage on the part of the good -- Leo XIII)
To: markomalley
Two years ago, my son and I set up a VPN between our households. Each of us put up a dedicated VM running Linux. We ran the VPN across specific ports which we exposed on our house routers. Internally, we employed standard Linux port forwarding.
When the system was set up, I could access web pages from my iPad using WIFI while sitting on my family room sofa, where the web pages were being served by an Apache web server on my son’s linux box across town.
To: markomalley
11
posted on
10/26/2017 4:46:35 PM PDT
by
E. Pluribus Unum
(You can't have totalitarian globalist government if the peasants are armed, can you George?)
To: markomalley
12
posted on
10/26/2017 4:52:26 PM PDT
by
ptsal
( Get your facts first, then you can distort them as you please. - M. Twain)
To: taxcontrol
I use Air VPN.
Works well.
13
posted on
10/26/2017 5:13:18 PM PDT
by
wally_bert
(I didn't get where I am today by selling ice cream tasting of bookends, pumice stone & West Germany)
To: markomalley
The TOR browser is apparently compromised by NSA and others. How secure from gov’t snooping are these private VPN operations?
14
posted on
10/26/2017 5:17:52 PM PDT
by
Paladin2
(No spelchk nor wrong word auto substition on mobile dev. Please be intelligent and deal with it....)
To: markomalley
15
posted on
10/26/2017 5:23:49 PM PDT
by
JFoobar
To: 2111USMC
Voxx isn’t showing up in my add-ons search (Ice Dragon, which is FF 52) :/
And, I’m NOT going to use Opera (bought out by China, last I heard)..
16
posted on
10/26/2017 5:44:58 PM PDT
by
Bikkuri
To: JFoobar
Whoa.. I didn’t even know about that.. will check it out (for KDE) :)
Thank you :D
17
posted on
10/26/2017 5:46:33 PM PDT
by
Bikkuri
To: Bikkuri
18
posted on
10/26/2017 5:49:54 PM PDT
by
Bikkuri
To: 2111USMC
Thank you! I saw it’s actually called Hoxx but I’ve been looking for a VPN solution like this for some time.
19
posted on
10/26/2017 5:50:23 PM PDT
by
Crolis
("To have a right to do a thing is not at all the same as to be right in doing it." -GKC)
To: SWAMP-C1PHER
You should change your DNS too and get off your ISP’s.
20
posted on
10/26/2017 5:56:49 PM PDT
by
SanchoP
Navigation: use the links below to view more comments.
first 1-20, 21-40, 41-43 next last
Disclaimer:
Opinions posted on Free Republic are those of the individual
posters and do not necessarily represent the opinion of Free Republic or its
management. All materials posted herein are protected by copyright law and the
exemption for fair use of copyrighted works.
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson