Log inSign up

VPN and private DNS guides

WireGuard, OpenVPN, IPsec, proxies, ad-blocking DNS and recursive resolvers. 14 guides in this topic.

WireGuard VPN server (manual setup)

Build a dual-stack WireGuard server by hand with wg-quick, NAT through nftables, ufw or firewalld, and QR codes for phone clients.

wg-easy WireGuard web UI

Run wg-easy with Docker Compose to manage WireGuard clients in a browser, with the admin page kept on localhost behind HTTPS.

WGDashboard for WireGuard

Install WGDashboard natively to manage several WireGuard interfaces and peers from one web panel, served over HTTPS with two-factor sign-in.

OpenVPN server with easy-rsa

Build an OpenVPN server step by step: easy-rsa certificate authority, server.conf with IPv6, NAT, and single-file client profiles.

Pritunl VPN server

Install Pritunl with MongoDB from the vendor repositories and manage OpenVPN and WireGuard users, organizations and servers from a web console.

OpenConnect VPN server (ocserv)

Run ocserv on TCP and UDP 443 with a trusted certificate, password or client-certificate login, and AnyConnect-compatible clients.

AdGuard Home DNS filter

Run AdGuard Home as a private ad and tracker filter for your own devices over DNS-over-HTTPS and DNS-over-TLS, locked to your clients only.

Pi-hole DNS sinkhole

Run Pi-hole v6 on a VPS as a private ad and tracker blocking resolver for your home IP and VPN clients, locked down with ufw.

Unbound validating resolver

Run Unbound as a recursive, DNSSEC validating resolver that serves only localhost, your own IPs and VPN clients.

Technitium DNS Server

Install Technitium DNS Server for recursion, block lists and your own zones in one web console, with recursion limited to trusted networks.

IPsec VPN with strongSwan

Build an IKEv2 IPsec VPN with strongSwan and swanctl: a trusted certificate, password logins for road warriors, NAT and a site-to-site option.

Squid forward proxy with authentication

Turn a VPS into a private HTTP and HTTPS forward proxy with Squid, password logins, a source IP allow list and no caching.

Shadowsocks proxy server

Install shadowsocks-rust from the official release, use a 2022 AEAD cipher with a random key, run it under systemd and connect with sslocal.

Authoritative DNS with BIND 9

Host your own domain on two BIND 9 name servers: recursion off, a signed primary zone, a TSIG protected secondary and glue at the registrar.