NordVPN Setup for Ubuntu

in

Motivation

The world wide web is a dark and scary place. If you want to protect your privacy and resist the man, then a VPN(Virtual Private Network) may be for you.

Some benefits that a VPN provide are:

  • Anonymity
  • Overcoming Geo-Location challenges
  • Increased Security

I was not happy when I got a slap on the wrist from my ISP saying that I had made a copyright infringement and to cut it out.

If you have been copying, sharing, or otherwise using copyrighted content without the copyright owner’s permission using your Internet service, we recommend you stop doing it immediately.

✊ They had my ip address and everything so it was time to fight back.

Here are some good articles on why you may need a VPN.

Lots of VPN Options

I started researching VPN options and found of a few subreddits with people raving about certain VPN providers.

NordVPN had been a stand out from this sub-reddit.

PC Mag also did a great article comparing major VPN providers.

BearTunnel even won best VPN on wirecutter.com for best VPN service.

The ultimate showdown betweenTunnelBear vs NordVPN.

After researching several options I ended up choosing NordVPN because:

Install

This guide is for Ubuntu 18.04 and NordVPN but should work for any Debain-based system.

After you have signed up with NordVPN, make sure you have your credentials handy. You will need them soon.

First thing you do is pull down the latest NordVPN file from their site.

  1. You’ll want to be somewhere like your Downloads directory.

    
    cd ~/Downloads
    
  2. Pull down the file from NordVPN.

    
    sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb
    
  3. More linux magic.

    
    sudo dpkg -i ./nordvpn-release_1.0.0_all.deb
    
  4. Next, update your package list.

    
    sudo apt update
    
  5. Now install NordVPN.

    
    sudo apt install nordvpn
    
  6. (optional) If step 5 doesn’t work for you (like in my situation), try this:

    
    sudo wget https://repo.nordvpn.com/gpg/nordvpn_public.asc -O - | sudo apt-key add -
    
    sudo apt install nordvpn
    

🎉Now you should have access to the nordvpn command!

Basic Configuration

Now that you have NordVPN installed, let’s test run thru the basics to get connected to a VPN server.

  1. First step is to login with your NordVPN credentials.

    
    nordvpn login
    
  2. Once your logged in, connect to a generic server.

    
    nordvpn connect(c)
    

    If you want to configure to a specific server, check out their server list.

server list

  1. In my example, server us3565 was the server recommended for my location. To connect with this specific server run:

    
    nordvpn connect us3565
    
  2. To confirm that you are connected

    
    nordvpn status
    
  3. When you are ready to disconnect

    
    nordvpn disconnect(d)
    

Advanced Configuration

😢Bummed out that your VPN slows down your connection?

The NordVPN team has been working on project NordLynx which uses a new protocol called wireguard that is going to knock your socks off.

This PCMag article gives you all the details.

🔥And the numbers don’t lie (credit PC Mag)

speedtest

To take advantage of NordLynx, follow the following steps from the NordVPN site.

Install WireGuard


sudo add-apt-repository ppa:wireguard/wireguard
sudo apt update
sudo apt install wireguard
nordvpn set technology nordlynx

In my tests, I went from 80mbps (udp) to over to 250mbps using nordlynx.

I have a fiber connection and without VPN on, I get around 350mbps up and down.

🚀Very impressive indeed

Make sure you select a custom server that has the wireguard option.

wireguard server

Killswitch

I like this option to prevent me getting back on my ISP if I was to get disconnected.

Kill switch is a technique that helps you prevent unprotected access to the internet, where your traffic doesn’t go through the VPN.


nordvpn set killswitch on

CyberSec

CyberSec protects you from ads, unsafe connections and malicious sites.


nordvpn set cybersec on

Conclusion

I am happy that I have found a vpn client that is as flexible, secure, and cutting-edge as NordVPN.

I feel more protected and secure on my all my journeys on the web.

Hope this guide will help you as much as it may help me in the future.

😃#bekindtoyourfutureself

Resources

About the author

Frank is a 👨‍💻web developer, U.S. Army veteran, 🎸bass player, father, husband, and founder of sacodersunited.

Read next: