You can connect WireGuard Server B to Server A as a site-to-site VPN, with Server B initiating the connection to Server A. To allow clients on both servers to communicate, you'll need to configure routing between the two WireGuard subnets.
Your existing networks are:
- Server A:
10.10.0.0/24— server IP10.10.0.1 - Server B:
10.11.0.0/24— server IP10.11.0.1
There are two ways to do this:
- Recommended: routed site-to-site VPN — preserve the original client IPs, allowing clients on either side to identify each other.