WireGuard is fairly new, and shows a lot of promise, while OpenVPN is more popular and widely supported.If you buy through affiliate links, we may earn commissions, which help support our testing.However, those services arent the only way to encrypt your online activity.One-click VPN services can be great, and there are a few VPNs we recommend if you want a simple solution that works out of the box.
That service comes with a cost, though: usually about 5 to 10 per month, not to mention putting your trust in whoevers on the other end. For a cheaper option that you control, you can set up an OpenVPN server on a Raspberry Pi (or certain routers ) and use your own home internet connection as a VPN while youre out and about. Be aware that you wont be able to spoof your location to an overseas country, or hide your identity from prying eyes (since the traffic will appear to come from your regular home internet connection). However, it will still give you extra security when browsing on public Wi-Fi, and its rather useful when you need to access your home network for, say, waking up a sleeping PC so you can Remote Desktop in. Its cheap, easy, and well worth doing if you have a Pi lying around. What Youll Need To set this up, youll need the obvious: a Raspberry Pi with all the crucial accessories, like a power supply and SD card. This guide doesnt require a special operating system; you can just use Raspbian, so check out our beginners guide to the Raspberry Pi for everything you need to know about setting up the basics. Raspberry Pi 2 Setup Guide Password When YouMake sure you change the default password when you first boot up the Pi, as its extremely important for securitywhich, after all, is the entire point of this project.) I recommend having a mouse, keyboard, and monitor for this walkthrough as welljust for the initial setupthough it isnt strictly required. You can SSH into your Pi to set up your VPN, but you may have to reconnect in the middle of the process, since changing network settings can cause the Pi to lose connection.). In order to access your Pi from afar, youll need to point it to your public IP address at home. This isnt hard to find, but it can change from time to time, which could break your VPN until you re-configure it. Doing so is kind of a pain, so its easier to use a dynamic DNS service that gives you an easy-to-remember address instead, which updates whenever your IP address changes. ![]() We wont walk through the entire process in this guide, but I recommend looking into it if you find your internet provider keeps changing your public IP address and breaking your VPN. Raspberry Pi 2 Setup Guide Software That AllowsHow to Install OpenVPN With PiVPN OpenVPN is an open-source set of software that allows you to set up a VPN on just about any type of hardware. Raspberry Pi 2 Setup Guide Install OpenVPNs LinuxIf you wanted, you could install OpenVPNs Linux server on your Pi and tweak the configuration files manually, but theres an easier solution. PiVPN is a set of open-source scripts that turn OpenVPNs configuration into an easy-to-use wizard, so even if this if your first time working with OpenVPN, you shouldnt have too much trouble getting it set up. Installing PiVPN is as simple as running the following command: curl -L bash The script will take a few minutes to install OpenVPN, and then itll walk you through the configuration process. First, it will inform you that PiVPN requires a static IP address, so you can easily access your VPN server when youre out and about. If you set up a DHCP reservation, you can just say Yes when PiVPN asks if youre using one. After choosing your user (the default Pi user is fine, unless you have another you wish to use), PiVPN will ask whether you want to use WireGuard, a new VPN protocol, or OpenVPN. Im using OpenVPN for this guide, so use the arrow keys to move the cursor to OpenVPN, then press Space to select it before pressing Enter to continue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |