{"id":1546,"date":"2020-02-10T23:00:02","date_gmt":"2020-02-10T15:00:02","guid":{"rendered":"https:\/\/www.strongd.net\/?p=1546"},"modified":"2020-02-10T23:00:02","modified_gmt":"2020-02-10T15:00:02","slug":"how-to-setup-vyprvpn-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=1546","title":{"rendered":"How to Setup VyprVPN on the Raspberry Pi"},"content":{"rendered":"<p>In this tutorial, I will be going through all the steps to setting up Raspberry Pi VyprVPN.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16442 lazyloaded\" src=\"https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1.jpg\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" srcset=\"https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1.jpg 727w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-600x450.jpg 600w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-300x225.jpg 300w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-610x457.jpg 610w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-510x382.jpg 510w\" alt=\"Raspberry Pi VyprVPN\" width=\"727\" height=\"545\" data-lazy-srcset=\"https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1.jpg 727w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-600x450.jpg 600w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-300x225.jpg 300w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-610x457.jpg 610w, https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1-510x382.jpg 510w\" data-lazy-sizes=\"(max-width: 727px) 100vw, 727px\" data-lazy-src=\"https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-VyprVPN-v1.jpg\" data-was-processed=\"true\" \/><\/p>\n<p>This tutorial is handy if you\u2019re looking to connect your Pi to the VyprVPN service.<\/p>\n<p>There are many reasons why you may want to\u00a0<a href=\"https:\/\/pimylifeup.com\/raspberry-pi-vpn-server\/\">set up a VPN on the Raspberry Pi<\/a>. The most common is that you want an extra layer of security and anonymity to<a href=\"https:\/\/pimylifeup.com\/category\/projects\/network\/\">\u00a0your network activities<\/a>. These benefits are handy for a range of different Raspberry Pi projects.<\/p>\n<p>Most of our projects have been tested for the\u00a0<a href=\"https:\/\/pimylifeup.com\/update-raspbian\/\">latest version of Raspbian<\/a>. I recommend upgrading to the most recent for the best experience when following this tutorial.<\/p>\n<p>If VyprVPN doesn\u2019t take your fancy, then we do have other tutorials that cover services such as ExpressVPN or\u00a0<a href=\"https:\/\/pimylifeup.com\/raspberry-pi-nordvpn\/\">NordVPN<\/a>.<\/p>\n<p>You can find the tutorial right below if you have any issues then be sure to let us know over at our forum.<\/p>\n<h2 class=\"lbb-section-break\"><i class=\"fas fa-list\" aria-hidden=\"true\"><\/i>\u00a0Equipment<\/h2>\n<p>All the equipment that you need to set up this Raspberry Pi VyprVPN tutorial is listed right below.<\/p>\n<h3>Recommended<\/h3>\n<p><i class=\"fas fa-microchip\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/l8KF94\/amazon\/raspberrypi\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Raspberry Pi<\/a><\/p>\n<p><i class=\"fas fa-hdd\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/DUVENo\/amazon\/microsdcard\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Micro SD Card<\/a><\/p>\n<p><i class=\"fas fa-wifi\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/9YIU76\/amazon\/ethernetcord\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Ethernet Cable<\/a>\u00a0or\u00a0<a href=\"https:\/\/go.pimylifeup.com\/89vmLk\/amazon\/wifidongle\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">WiFi dongle<\/a>\u00a0(Pi 3 has WiFi inbuilt)<\/p>\n<p><i class=\"fas fa-plug\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/TwjJnF\/amazon\/powersupply\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Power Adapter<\/a><\/p>\n<p><i class=\"fas fa-key\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/fDABwl\/vprvpn\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">VyprVPN Subscription<\/a><\/p>\n<h3>Optional<\/h3>\n<p><i class=\"far fa-square\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/vbWKKX\/allraspberrypicases\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Raspberry Pi Case<\/a><\/p>\n<p><i class=\"far fa-keyboard\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/FiheVF\/amazon\/usbkeyboard\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">USB Keyboard<\/a><\/p>\n<p><i class=\"fas fa-mouse-pointer\" aria-hidden=\"true\"><\/i>\u00a0<a href=\"https:\/\/go.pimylifeup.com\/2VE9AD\/amazon\/usbmouse\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">USB Mouse<\/a><\/p>\n<h2 class=\"lbb-section-break\"><i class=\"fas fa-shield-check\"><\/i>\u00a0Installing VyprVPN to the Raspberry Pi<\/h2>\n<p>VyprVPN isn\u2019t much different to installing most VPN services on the Raspberry Pi as most make use of the OpenVPN software.<\/p>\n<p><strong class=\"step_numbering\">1.<\/strong>\u00a0If you haven\u2019t already, then you will need to\u00a0<a href=\"https:\/\/go.pimylifeup.com\/fDABwl\/vprvpn\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">sign up to VyprVPN<\/a>.<\/p>\n<p><strong class=\"step_numbering\">2.<\/strong>\u00a0Load the terminal on the Raspberry Pi or\u00a0<a href=\"https:\/\/pimylifeup.com\/raspberry-pi-ssh\/\">make use of SSH<\/a>\u00a0to remotely\u00a0it access.<\/p>\n<p><strong class=\"step_numbering\">3.<\/strong>\u00a0Update the Raspbian to the latest packages.<\/p>\n<pre><code>sudo apt-get update\r\nsudo apt-get upgrade<\/code><\/pre>\n<p><strong class=\"step_numbering\">4.<\/strong>\u00a0Now, let\u2019s install the OpenVPN package, you can do this by entering the following command.<\/p>\n<pre><code>sudo apt-get install openvpn<\/code><\/pre>\n<p><strong class=\"step_numbering\">5.<\/strong>\u00a0Change directory to the OpenVPN directory by entering the following.<\/p>\n<pre><code>cd \/etc\/openvpn\/<\/code><\/pre>\n<p><strong class=\"step_numbering\">6.<\/strong>\u00a0We will now need to download the VyprVPN ovpn files.<\/p>\n<pre><code>sudo wget -O vyprvpn.zip \\\r\nhttps:\/\/support.goldenfrog.com\/hc\/article_attachments\/360008728172\/GF_OpenVPN_10142016.zip<\/code><\/pre>\n<p><strong class=\"step_numbering\">7.<\/strong>\u00a0Next, we will now need to extract the files that we need.<\/p>\n<pre><code>sudo unzip vyprvpn.zip<\/code><\/pre>\n<p><strong class=\"step_numbering\">8.<\/strong>\u00a0Now let\u2019s move all the files to the base directory and delete VyprVPN directory.<\/p>\n<pre><code>sudo mv \/etc\/openvpn\/OpenVPN256\/* \/etc\/openvpn\/\r\nsudo rm -r \/etc\/openvpn\/OpenVPN256<\/code><\/pre>\n<p><strong class=\"step_numbering\">9.<\/strong>\u00a0To connect to VyprVPN simply use the following command.<\/p>\n<pre><code>sudo openvpn file_name<\/code><\/pre>\n<p>Replace\u00a0<strong>file_name<\/strong>\u00a0with the location of where you wish to connect. For example, If I wanted Canada for example, then I will use\u00a0<strong>Canada.ovpn<\/strong>. You can view all the locations by using the following command.<\/p>\n<pre><code>ls -l \/etc\/openvpn<\/code><\/pre>\n<p>Below is an example of connecting to Canada.<\/p>\n<pre><code>sudo openvpn \/etc\/openvpn\/Canada.ovpn<\/code><\/pre>\n<p><strong class=\"step_numbering\">10.<\/strong>\u00a0It will now ask for your credentials, and you will need to enter them to be able to connect to VyprVPN. Test your connection by going ipleak.net. You should have a different IP to your usual one.<\/p>\n<p><strong class=\"step_numbering\">11.<\/strong>\u00a0If you need to disconnect, then you can easily use either\u00a0<strong>ctrl+c<\/strong>\u00a0or the following command.<\/p>\n<pre><code>sudo killall openvpn<\/code><\/pre>\n<h2 class=\"lbb-section-break\"><i class=\"far fa-hourglass-start\"><\/i>\u00a0Auto Start VyprVPN<\/h2>\n<p>Most of us love to reduce the amount of manual input required for when it comes to technology. The following steps will show you how to set up VyprVPN to connect automatically on bootup.<\/p>\n<p><strong class=\"step_numbering\">1.<\/strong>\u00a0Firstly, we will need to save both our username and password in a file.<\/p>\n<pre><code>sudo nano \/etc\/openvpn\/auth.txt<\/code><\/pre>\n<p><strong class=\"step_numbering\">2.<\/strong>\u00a0In this file, add your chosen username and password for the service. Make sure the username and password are both on separate lines.<\/p>\n<pre><code>username\r\npassword<\/code><\/pre>\n<p><strong class=\"step_numbering\">3.<\/strong>\u00a0Save and exit by pressing\u00a0<strong>ctrl+x<\/strong>, then\u00a0<strong>y<\/strong>\u00a0and lastly\u00a0<strong>enter<\/strong>.<\/p>\n<p><strong class=\"step_numbering\">4.<\/strong>\u00a0Now we will need to copy the ovpn file, simplify its name at the same time.<\/p>\n<pre><code>sudo cp \"\/etc\/openvpn\/Australia - Sydney.ovpn\" \/etc\/openvpn\/aussyd.conf<\/code><\/pre>\n<p><strong class=\"step_numbering\">5.<\/strong>\u00a0Now let\u2019s edit this new file.<\/p>\n<pre><code>sudo nano \/etc\/openvpn\/aussyd.conf<\/code><\/pre>\n<p><strong class=\"step_numbering\">6.<\/strong>\u00a0We will only need to do a straightforward edit in this file.<\/p>\n<p><strong>Find<\/strong><\/p>\n<pre><code>auth-user-pass<\/code><\/pre>\n<p><strong>Replace with<\/strong><\/p>\n<pre><code>auth-user-pass auth.txt<\/code><\/pre>\n<p><strong class=\"step_numbering\">7.<\/strong>\u00a0Finally, we need to setup OpenVPN to auto start using our ovpn file.<\/p>\n<pre><code>sudo nano \/etc\/default\/openvpn<\/code><\/pre>\n<p><strong>Find<\/strong><\/p>\n<pre><code>#AUTOSTART=\"all\"<\/code><\/pre>\n<p><strong>Replace with<\/strong><\/p>\n<pre><code>AUTOSTART=\"aussyd\"<\/code><\/pre>\n<p>Replace\u00a0<strong>aussyd<\/strong>\u00a0with the filename you set.<\/p>\n<p><strong class=\"step_numbering\">8.<\/strong>\u00a0Save and exit.<\/p>\n<p><strong class=\"step_numbering\">9.<\/strong>\u00a0Reboot the Raspberry Pi to test out our new configuration.<\/p>\n<pre><code>sudo reboot<\/code><\/pre>\n<p><strong class=\"step_numbering\">10.<\/strong>\u00a0Now test the VPN by going to\u00a0<a href=\"https:\/\/ipleak.net\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">ipleak.net<\/a>\u00a0or a similar website. The IP should be VyprVPNs and not your own. Doing this step will confirm that we have successfully set up VyprVPN on the Raspberry Pi.<\/p>\n<h2 class=\"lbb-section-break\"><i class=\"fas fa-briefcase-medical\"><\/i>\u00a0Preventing DNS Leaks<\/h2>\n<p>To ensure that your DNS isn\u2019t leaking your location you will need to do a tweak on your Pi. To fix this, we will simply force our DNS to run through\u00a0<a href=\"https:\/\/www.cloudflare.com\/learning\/dns\/what-is-1.1.1.1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cloudflare\u2019s public DNS<\/a>\u00a0rather than our internet service providers (ISP) DNS. This process is pretty easy and won\u2019t take long to do.<\/p>\n<p><strong class=\"step_numbering\">1.<\/strong>\u00a0Firstly, load into the dhcpcd configuration file and update the following line.<\/p>\n<p><strong>Open<\/strong><\/p>\n<pre><code>sudo nano \/etc\/dhcpcd.conf<\/code><\/pre>\n<p><strong>Find<\/strong><\/p>\n<pre><code>#static domain_name_servers=192.168.0.1<\/code><\/pre>\n<p><strong>Replace with<\/strong><\/p>\n<pre><code>static domain_name_servers=1.1.1.1<\/code><\/pre>\n<p><strong class=\"step_numbering\">2.<\/strong>\u00a0Save &amp; exit the file.<\/p>\n<p><strong class=\"step_numbering\">3.<\/strong>\u00a0Now reboot your Pi by entering the following command.<\/p>\n<pre><code>sudo reboot<\/code><\/pre>\n<p><strong class=\"step_numbering\">4.<\/strong>\u00a0Go to\u00a0<a href=\"https:\/\/ipleak.net\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">ipleak.net<\/a>\u00a0and check that your DNS is no longer leaking. If you\u2019re still leaking. then you might want to look at\u00a0<a href=\"https:\/\/forum.goldenfrog.com\/t\/webrtc-ip-leak-concerns-and-vyprvpn\/648\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">this page on WebRTC requests<\/a>\u00a0for more information.<\/p>\n<h2 class=\"lbb-section-break\"><i class=\"fas fa-briefcase-medical\"><\/i>\u00a0Troubleshooting<\/h2>\n<p>If you run into trouble while setting up Raspberry Pi VyprVPN then the troubleshooting tips might help you out.<\/p>\n<ul class=\"pi_list_style\">\n<li>You\u2019re able to start and stop your VPN by using the following command. Replacing stop with start will start the VPN backup. This command will only work if you have it set up for autostart.<\/li>\n<\/ul>\n<pre><code>sudo systemctl stop openvpn<\/code><\/pre>\n<ul class=\"pi_list_style\">\n<li>It\u2019s important to be aware that we are storing credentials in plain text. This lack of security makes it essential that you keep your Pi secure against unauthorized access. Just changing the default password will heavily improve your security.<\/li>\n<\/ul>\n<p>As I mentioned above, there is plenty of other projects that work great with a VPN. Something as\u00a0<a href=\"https:\/\/pimylifeup.com\/raspberry-pi-torrentbox\/\">simple as a Torrentbox<\/a>\u00a0will benefit. Just make sure your VPN provider allows torrenting as some will ban you for using up too much bandwidth.<\/p>\n<p>Hopefully, by the end of this Raspberry Pi VyprVPN tutorial, you have everything set up and working as it should be. If you require further help, then I highly recommend that you leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, I will be going through all the steps to setting up Raspberry Pi VyprVPN. This tutorial is handy if you\u2019re looking to connect your Pi to the VyprVPN service. There are many reasons why you may want to\u00a0set up a VPN on the Raspberry Pi. The most common is that you want &hellip; <a href=\"https:\/\/www.strongd.net\/?p=1546\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to Setup VyprVPN on the Raspberry Pi<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1546","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1546"}],"version-history":[{"count":1,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1546\/revisions"}],"predecessor-version":[{"id":1547,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1546\/revisions\/1547"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}