How to set up my own VPN server

To cut a long story short, I work from home and my company allows working from overseas, but all the servers and access are limited by region.

I’m curious about how best to set up my own VPN server or host so that I can access everything I need from a different country.

In both locations, I have a 1000mbps fibre internet connection with static IPs.

I’m happy to invest in hardware.

Due to privacy concerns, I can’t use any of the commercial VPN providers.

You should set up Wireguard on your home router, then connect any device you want to use while abroad to create a tunnel that appears to be your home network IP address.

Go for Wireguard. If you can’t due to CGNAT issues or if you’re not very tech-savvy, you might try Tailscale, which has a guide for digital nomads.

Nyle said:
Go for Wireguard. If you can’t due to CGNAT issues or if you’re not very tech-savvy, you might try Tailscale, which has a guide for digital nomads.

Tailscale

Does it work on Android phones?

@Florence
Yep, works perfectly.

Nyle said:
Go for Wireguard. If you can’t due to CGNAT issues or if you’re not very tech-savvy, you might try Tailscale, which has a guide for digital nomads.

I’d suggest Tailscale or ZeroTier since they make security a bit easier. Your work infrastructure has restrictions to lower the risk. It defeats the purpose if you want to set up something without proper knowledge. Both services work on mobile devices too. Pritunl is another option if you have issues with CGNAT or prefer not to rely on a third-party service.

I use Outline because I lack static IPs. It’s easier to rerun the installation script than manually changing all the configs.

@Jem
The downside of Tailscale is if your work computer has a Cisco VPN or Umbrella DNS service, your Tailscale connection could go through relay servers, slowing your internet. You can host your own relay server, but that isn’t exactly beginner-friendly.

dinosaurs rain caption fuzzy direful north zesty zealous spark consist

This post was mass deleted and anonymized with Redact

I recommend buying two Gl.inet routers (I got mine for around 20 euros each on AliExpress). Use one as the VPN server with Wireguard at home and the other as a Wireguard client to take with you.
It works like magic and is affordable :sparkles:.

Usually, the easiest route is to set it up on a VPS or virtual private server, using something like OpenVPN or WireGuard, with guides to help you through it. Just remember, with a VPS, your data still goes through that provider.

If you want to compare your setup, the VPN Comparison Table from this forum is handy. It breaks down features like encryption, logging, and speed across different providers in case you decide to use a commercial VPN later.

@Sun
Thanks for the suggestions. I have a VPS now and set up Wireguard using a GitHub project. It’s amazing. I have a router in another country that tunnels all network traffic through my VPN, and everything works so smoothly and quickly. Plus, I can stream content from my home country :slight_smile:

@Heath
Can you share the GitHub project?

Vaughn said:
@Heath
Can you share the GitHub project?

Here’s the link: GitHub - angristan/wireguard-install: WireGuard VPN installer for Linux servers

Some routers can create OpenVPN certificates, which you can add and connect to. (I tried it before, and it works)

Alternatively, create your own server with a DNS subscription and all that, but hopefully someone can help you through it since I’m no expert.

@Emerson
Is a DNS subscription necessary?

Kumi said:
@Emerson
Is a DNS subscription necessary?

It depends on your usage. A subscription gives you your own domain and no traffic limits.

Try the free options first to see what works best for you.

@Emerson
I’ll check it out, thanks.

Heath said:
@Emerson
I’ll check it out, thanks.

Many TP-Link routers come with built-in VPN servers. They typically use OpenVPN with certificates.

Did you check out https://keepmyhomeip.com?

Colby said:
Did you check out https://keepmyhomeip.com?

Oh wow, this looks interesting. Have you used it? Any feedback?