sudo killall openvpn NordVPN Start at Boot If this doesn’t work, then you can use the following command. If you wish to disconnect, then simply use CTRL + C on the keyboard. You can test this by going to the NordVPN website and looking at the banner at the top.ġ1. Once you have done that, you will be connected to the VPN server. You will now need to enter your credentials. sudo openvpn /etc/openvpn/ovpn_tcp/.ovpnġ0. You will need to replace “ file_name” with the file for the server that you wish to connect to.įor example, if we were to connect to an Australian NordVPN server using the TCP protocol you would run the following command. To connect to NordVPN using the OpenVPN client we will be entering the following command. You will need to know this filename for the next steps.ĩ. Use this list of files the command generates to select the NordVPN server that you will want your Raspberry Pi to connect to. You can list out the files of these directories by making use of the ls command.įor our example we are just going to use the command to list out the TCP version of the files. One directory will be called called “ ovpn_tcp” and will contain the TCP version of NordVPN’s files and another called “ ovpn_udp” will contain the UDP versions.Ĩ. sudo unzip ovpn.zipĪfter extracting there will now be two additional folders.
Next, unzip the archive we just downloaded by using the command below. This download can easily be done by entering the following wget command into the terminal.
We now need to download the archive containing the NordVPN ovpn files. We will download and extract the ovpn files in to this directory. Navigate to the OpenVPN directory by typing in the following change directory command. OpenVPN is the client software that we will use to connect to NordVPN’s servers.ĥ.
Next, install the OpenVPN and zip packages by entering the following command.
Enter the following lines to update Raspbian to the latest packages.
Open the terminal on the Raspberry Pi or use SSH to gain access.ģ. First, you will need to sign up to NordVPN if you haven’t already.Ģ. Once set up you can easily connect to your desired location by using specific ovpn files.ġ. The process of setting up NordVPN on the Raspberry Pi is pretty straightforward. Equipment ListĪll the equipment that you need to setup this Raspberry Pi NordVPN tutorial is listed right below. These services include VyprVPN, HMA, ExpressVPN and many more. We recommend that you upgrade to the latest version of Raspbian.Ī similar set up as described below can be used on most VPN services that provide you with ovpn files. If you’re running an older version of Raspbian, then you may run into issues.
This tutorial has been tested for Raspbian Stretch. Basically, it’s a good setup for any tutorial that being anonymous is preferred. This setup is ideal if you only need to connect to a VPN on the Raspberry Pi itself.Īpart from regular web browsing anonymizing, the VPN can be used in conjunction with other projects such as the Pi TorrentBox. If you’re looking for a VPN WiFi access point, then our other tutorial will take you through all the steps to set that up. This setup is perfect if you use your Pi in a way that you will benefit by running through a VPN service.