↓ Skip to main content

vpn

2026

WireGuard: Possible Problems

Part 7.3
·6 mins
Requirements 7.1 Adding WireGuard Clients and 7.2 Putting Services Behind the VPN must be done. Assumptions The desktop has the two profiles created in 7.1 Adding WireGuard Clients: xenternet (full tunnel) and xentranet (split tunnel). The commands in this part are run on the Linux desktop (the client) that uses NetworkManager.

Putting Services Behind the VPN

Part 7.2
·6 mins
Requirements 7 WireGuard Setup and 7.1 Adding WireGuard Clients must be done; you must be able to connect to the VPN from your personal computer. For the NGINX part, 3 NGINX Configuration must be done. Assumptions The VPN networks are 10.8.0.0/24 and fd42:8::/64, and the server’s VPN address is 10.8.0.1. SSH is allowed in the vpn zone (7 WireGuard Setup). Server commands are run on the server with root rights (sudo). The tests with ssh and curl are done from a personal computer.

Adding WireGuard Clients

Part 7.1
·10 mins
Requirements 7 WireGuard Setup must be done. Assumptions The server’s VPN address is 10.8.0.1; clients connect to the VPN through xenonly.com:51820. Server-side commands are run on the server, client-side commands on a Linux desktop that uses NetworkManager. Commands that need root rights are written with sudo. The desktop uses two VPN profiles: xenternet (full tunnel), which sends all traffic through the tunnel, and xentranet (split tunnel), which sends only the traffic for the VPN network through the tunnel.

WireGuard Setup

Part 7
·7 mins
Requirements 4 Docker Setup and 5 Firewalld Configuration must be done (this part changes the configuration of both). Assumptions The outside network interface is eth0, it is managed by NetworkManager, and its IPv6 address is set statically. The VPN networks are 10.8.0.0/24 (IPv4) and fd42:8::/64 (IPv6); the server’s VPN address is 10.8.0.1 / fd42:8::1. WireGuard listens on port 51820/udp. Commands are run on the server with root rights (sudo).