WireGuard for different WAN IP & Public IP scenario
-
I set up a WireGuard site-to-site tunnel and a remote access tunnel at my office located in China hoping to connect to my pfsense edge network in California. However, I found out that the WAN IP and Public IP of the office are different and I've never encountered this scenario before. I've configured the endpoint in the site-to-site tunnel to be the WAN IP of the office, and the handshake was established successfully, but the status page shows that the endpoint is the Public IP and a different port number which I don't understand why. Whereas I couldn't connect to the remote access tunnel at all using either WAN IP or Public IP of the office as the endpoints on the clients' configuration. What's going on here?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.