Your own VPN at home or on a VPS: is it worth setting up?

Your own VPN at home or on a VPS: is it worth setting up?

Your own virtual private network (VPN) server creates an encrypted tunnel between your device and the server.

It suits accessing your home network while travelling and protecting traffic on other people's Wi-Fi, but it gives you a single exit point to the internet and requires maintenance. If you need exits in different countries without running a server, it's better to choose a ready-made service: the servers are maintained by an operator to whom you entrust your connection.

Decide where your traffic should come out

A home server gives access to files and devices at home while you travel. If your home is in the UK, exiting through it will keep your British internet address even abroad.

A virtual private server (VPS) is a rented computer in a data centre for your programs. It lets your traffic come out in the location you choose; access back home would require a separate connection.

A commercial VPN provides shared addresses, different countries and support. There is no server to set up; you will still have to install a client and add a connection.

CriterionServer at homeServer on a VPSReady-made service
Which address does a website seeYour home oneThe data centre's addressUsually a shared exit address
Choice of countryYour home's countryThe rented server's locationThe service's available countries
Access to the home networkYes, with access configuredA separate route home is neededUsually not provided
Who manages the serverYouYou; the hosting provider runs the infrastructureThe service operator
Through whose connection does traffic exitYour home broadband providerYour hosting providerThe operator and its infrastructure
Who updates the server and manages accessYouYouThe operator; you look after your account

If you need exits in different countries without renting and updating servers, I recommend CitadelVPN. The service lists more than 40 locations, and help from its engineers with setup is included on all plans. Open the website, choose an available location and add the connection in a compatible client; if you run into difficulties, contact support.

Understand which address websites will see

An internet protocol (IP) address is a device's network address. A website determines the approximate location from the exit address: the home one or the data centre's address. Accuracy depends on the geolocation database.

The route looks like this: phone in a café → tunnel → home server or VPS → internet. This works when internet traffic is routed through the server. If you connect only to the home network, ordinary websites will continue to open through the local connection.

Understand which address websites will see

Understand which address websites will seeThis works when internet traffic is routed through the server. A website determines the approximate location from the exit address: the home one or the data centre's address. A home VPN protects the tunnel's traffic on someone else's network, but does not hide your home IP from websites.tunnelphone in a caféhome server or VPSinternet

This works when internet traffic is routed through the server.

A website determines the approximate location from the exit address: the home one or the data centre's address.

A home VPN protects the tunnel's traffic on someone else's network, but does not hide your home IP from websites.

A home VPN protects the tunnel's traffic on someone else's network, but does not hide your home IP from websites. Here, the VPN operator is you, while the exit connection is served by your home broadband provider or the hosting provider. The content of connections to websites is also protected by their own encryption.

A VPN does not guarantee access to streaming. You may also run into extra checks when opening websites: Google's help page describes checks and blocks for some VPNs and tunnelling networks.

Check your network before buying a device

A Raspberry Pi, an old computer, a network-attached storage (NAS) drive for home files or a ready-made VPN gateway can serve as the server. A router with server-mode support will also do. Start with a device you already have.

Check the requirements for the standard home setup with port forwarding:

What you needWhy
A reachable public IPUnder carrier-grade network address translation (CGNAT), several subscribers share one external address; port forwarding on your router alone is not enough
Port forwarding to the internal serverWireGuard needs a user datagram protocol (UDP) port, which carries the tunnel's packets
Dynamic domain name system (DDNS) with a changing IPUpdates the binding of a permanent name to the new external address
A permanent address for the device inside the homeLets the router send incoming packets to the right server; it's convenient to reserve the address in the router's settings

For a server on the router itself, no forwarding to a separate device is needed. Choose the option that suits you in the guide on which device to use and how to secure a home server.

Check your network before buying a device

Watch on YouTube

Allow time for maintenance and check your speed

PiVPN is an installer for WireGuard or OpenVPN, programs for an encrypted connection. System updates, issuing and revoking access keys and backing up settings remain your job. Lost your phone? Revoke its key.

According to the PiVPN documentation, the project is maintained on a best-effort basis by its maintainers. Keep an eye on system updates and the need to reboot after them.

A home VPN's speed is limited by your home internet's upload: that is the channel through which the server sends data to you while you travel. Look at the upload, not just the download, in your plan. PiVPN has no fixed maximum speed.

A typical self-hosted VPN setup does not add obfuscation, that is, masking of the signs of VPN traffic. WireGuard does not provide for it, so your own server can also be blocked. Speed, CGNAT and routing for your own server are covered separately, including the option of a home server exiting through an external VPN.

Common questions before launch

Can you run your own VPN for free?

Partly. WireGuard and PiVPN are free, but there is still the device, electricity or VPS rental and your time. A computer already running at home may spare you buying a separate one.

What happens if the power or internet goes out at home?

The server will be unreachable until power and connectivity are restored. After the external address changes, the DDNS records need to update, and the client may need to reconnect.

Is your own server more private than a paid VPN?

Not necessarily. Your home IP is tied to your broadband connection, and a VPS to your hosting account and usually payment details. This does not provide anonymity: signing in to an account and cookies let a website recognise you even when your address changes.

What to choose for your task

Choose a home server for access to your own devices and a home IP while travelling. A VPS suits you if you want your own exit point in a chosen country and are prepared to update the server and manage keys. Choose a ready-made service for switching locations without administration. Before installing at home, check your public IP and upload speed: they determine the availability and speed of the connection.