WireGuard Site to Site VPN Setup, Fast & Secure (Step-by-Step)
- Overview
- Prerequisites
- Quick Architecture
- Install / Setup
- Base Configuration
- Reload/Enable & Health Checks
- Security / Hardening
- Performance & Optimization
- Backup & Restore
- Troubleshooting (Top issues)
- Key Takeaways & Next Steps
Overview
This guide walks you through a practical wireguard site to site vpn setup. You will build a site-to-site tunnel between two Linux gateways (WG‑A & WG‑B), route two LANs, persist configs, secure with firewall, and verify connectivity.
Prerequisites
- OS: Ubuntu/Debian, RHEL/Rocky/Fedora, Arch/Manjaro, openSUSE/SLE
- Ports: UDP
51820open between gateways - Placeholders:
WG_IF=wg0,LAN_A=10.10.1.0/24,LAN_B=10.10.2.0/24,WG_NET=10.10.10.0/24. - Reference: WireGuard official docs: https://www.wireguard.com/#documentation

