Skip to content
Dorian FINKEL
Network security#06

WireGuard site-to-site & remote access VPN

Remote access to the lab with no admin port exposed, plus a permanent tunnel to the cluster’s second site.

Year2025
RoleArchitecture & operations
  • Zero exposed ports
  • One key per device
  • Split tunnelling

Problem

Managing the lab remotely meant exposing interfaces to the Internet, and the Proxmox cluster’s second site needed a permanent link to the first.

Solution

WireGuard on the gateway with a dedicated peer and key per device, split tunnelling so only internal networks are routed, internal DNS pushed through the tunnel, and a site-to-site tunnel complemented by Tailscale for cluster traffic.

Architecture

Outside
Edge
Home & site B

Tap an element to see its role, or follow a path.

Outcome

No admin service is visible from the Internet any more; revoking a device means deleting its key, without touching the others.
00
exposed admin ports
11
key per device

Key steps

  1. 01

    Closing every existing port forward

  2. 02

    WireGuard server on the gateway and tunnel addressing

  3. 03

    Per-device peers, distributed by QR code

  4. 04

    Site-to-site tunnel and routes to the second site

  5. 05

    External check: scanning the public IP from the Internet

In the notebook

Stack

WireGuardUniFi GatewayTailscaleSplit-horizon DNSStatic routing
GitHub