How to Set Up Your Own VPN Server at Home

You have probably heard about the repeal of Net Neutrality and you’ve witnessed the massive Facebook data breach. Due to all these privacy-related happenings, people have started to use VPN more than ever before. So, you are most probably reading this article because you want to join the bandwagon. However, there are many options in front you – and we’ll discuss how to set up your own VPN server at home, among many other things.

What you need to know is that VPNs are perhaps the most capable tools for keeping you anonymous online. They can also help with ISP throttling and even unblock geo-restricted content. However, there are too many VPN options out there, making this situation a bit more complex than it has to be. So, let’s simplify everything and tell you how to set up your own VPN from scratch.

What Can You Do With a Home VPN?

The idea with a home VPN server is to let you use your roaming Internet connection as if it were your home service. Let’s say you were at a cafe and want to use the Wi-Fi. Of course, it’s not secure, so usually, you’d use a commercial VPN server. If, however, you connect to a VPN server running on your home network, you’d have the same level of safety as sitting at your home, giving you a piece of mind.

What is VPN - Featured

Not only that but since you are essentially a part of the LAN no matter where you are, you can access network drives, download files and basically do everything else you can usually do at your home. That also means you can still access any location-locked services you usually have at home when traveling abroad.

An Important Note About Web Connection Speed

If you do set up a VPN server at home, then you’ll have to pay attention to two different speed issues. Obviously, the speed of the local connection you’re using puts a cap on things, but so does your home network.

Since your home Internet connection is acting like a relay for all your data, it’s speed specifications limit how fast your experience can be. This is why ADSL and VDSL are not great choices for home VPN servers. Their upload speeds are generally quite poor, which means your download speed on the other end will be just as bad.

Slow VPN Connection

This is only a realistic option for people who have symmetric upload and download speeds. Fiber internet is the most obvious example of this. If your connection’s upload speed is too slow, then you’ll be better off coughing up a few bucks a month for a cloud-based VPN service. In that case, do check out our roundup of the best VPNs of 2018.

Setting Up a Home VPN: Requirements

A VPN server is a computer that runs VPN software and manages the encryption and data transfer process. There are a number of devices you can run VPN server software on for this project. Each of them has their own pros and cons. Let’s take a closer look.

1. VPN Routers

Some routers have a built-in VPN server function. If you are lucky enough to already own such a router, then almost all the work has already been done for you. All you need to do is configure the server and activate it through the router’s Web-based interface.

The Best DD-WRT Routers Under $50 - Featured

If your router doesn’t support VPN server functionality out of the box, then you aren’t out of luck yet. It might be possible to replace its firmware with custom router firmware such as DD-WRT. If you don’t have a router that can handle DD-WRT, then have a look at our roundup of the best DD-WRT routers.

When it comes to how to set up your own VPN server at home, using a router designed for this functionality is by far the best way. However, there are other options to explore, so keep on reading.

2. Running the Server on Your Home PC

Another option is to simply install a VPN server software on your laptop or desktop PC. For this to work, your PC can never be switched off. On top of this, the VPN software will also take up resources on that machine, which means potential slowdowns while using it. Most modern PCs are however so powerful, it’s doubtful you’d notice a difference.

3. Use a Dedicated Computer

Old computers can be dedicated to home VPN server use quite easily. Once you’ve got it all configured, just connect it to the router (using Ethernet if possible) and leave it on.

An old laptop or desktop might not be the most elegant or attractive solution, but you can also use something like a Raspberry Pi to act as a dedicated VPN server. There’s a VPN operating system for the Raspberry Pi called PiVPN which makes the process pretty straightforward even for beginners.

How to Set Up Your Own VPN Server at Home?

OpenVPN

Regardless of which hardware platform you use, the basic process of setting up the server is broadly the same. We recommend OpenVPN as the software of choice for this project. You can download OpenVPN here.

  • Download the OpenVPN software and install it on your computer;
  • Generate certificates and keys;
  • Generate config files for the server and clients;
  • Start the server itself.

Apart from this, you might have to do some port-forwarding magic on your router and possibly pony up for a static IP from your ISP.

We won’t lay down the detailed instructions for every platform since the OpenVPN community has created great instructional documents with troubleshooting guides too. The best one to start with for most people is their easy Windows Guide for OpenVPN. Doing this on Linux is a bit more complicated and you’re best off Googling for instructions relevant to the specific distro of Linux you have in mind. Ubuntu is the most popular for home users and you can find the official Ubuntu OpenVPN documents at the preceding link.

Final Thoughts

After setting up an OpenVPN server on your home network according to the proper instructions, you can configure it on your phone, tablet or laptop the same way you would configure any commercial OpenVPN that does not have an app specifically for your device. From there, the world is your oyster! Enjoy taking your home Internet connection with you everywhere you go. A luxury and convenience that’s well worth the effort.

In case you found this article to be helpful, why not share it online? Also, don’t forget to follow us on Facebook and Twitter. Thanks!