WireGuard site-to-site setup
Site-to-site means two LANs (home + office, or lab + cloud) route between each other through WireGuard peers.
High-level steps
- Give each side a unique VPN address (for example
10.66.66.1and10.66.66.2). - Set
AllowedIPsto include the remote LAN CIDRs (not only the peer tunnel IP). - Enable IP forwarding on both gateways.
- Use a VPS hub if either side lacks a public IP (see CGNAT relay).
Start from generated peers in WireGuard Kit, then edit AllowedIPs for LAN ranges.