OPNsense Forum

English Forums => Virtual private networks => Topic started by: mophete on March 25, 2025, 01:15:10 PM

Title: WireGuard site to site on 2 OPNsense, one site with fixed IP, not the second
Post by: mophete on March 25, 2025, 01:15:10 PM
Hello,

I'm looking into setting up a site-to-site VPN between two homes, the primary and secondary.
The secondary is in an area without fiber or ADSL, so I installed a 4G router.
But with 4G (and even 5G) the IP address is likely to change.

In the primary site's configuration, the remote site's IP address seems to be only an IP address, not a dyndns address.

How can I get around this issue?

Thanks in advance for your insight.
Title: Re: WireGuard site to site on 2 OPNsense, one site with fixed IP, not the second
Post by: Patrick M. Hausen on March 25, 2025, 01:17:14 PM
Enter no address at all. The site with the changing address will have to initiate the tunnel, but generally this works fine.
Title: Re: WireGuard site to site on 2 OPNsense, one site with fixed IP, not the second
Post by: mophete on March 25, 2025, 01:21:45 PM
Thank you for your quick response :)

i will try it quickly