Get the latest tech news

Setting up a home VPN server with WireGuard (2019)


Motivation For a moderately security conscious geek like myself, there can be a number of reasons to want to set up a home VPN server: Accessing your home computer via screen sharing without exposing it to the Internet (and thereby to potential evil-doers). Accessing servers with IP white lists (common case for security hardened IT systems). Accessing county-IP-filtered things like Netflix while travelling. Browsing privately from insecure WiFi networks. Getting access to services that are blocked inside restrictive corporate networks.

Connecting VPN clients will then use an IP inside this network, and be able to access my LAN via routing, which we’ll set up later. There are links to clients for macOS, Android, iOS, Windows and a whole bunch of Linux and BSDs on the aforementioned Wireguard installation page. As you can see, I’ve set up multiple tunnel configs, one forwarding all traffic, and one just giving access to the home LAN.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of wireguard

wireguard

Photo of home VPN server

home VPN server

Related news:

News photo

Linux kernel WireGuard can go 'fast' on decent hardware

News photo

WireGuard vanity keygen

News photo

I wish (Linux) WireGuard had a simple way to restrict peer public IPs