Site to Site VPN w/ Two Dynamic IPs

Started by EFaden, June 03, 2020, 02:46:09 PM

Previous topic - Next topic
Hey,

So I am going to be converting my MikroTik routers over to OPNSense.  I currently have two sites that I am using EOIP (Ethernet Over IP, basically MikroTik's version of GRE) over IPSec setup between these two sites.  Trouble is that both sites have dynamic IPs (don't change often, but they can).  The way I am currently handling it is with Dynamic DNS and a script running on each router to see if there is a new IP for the other side of the tunnel every 10 minutes and then it updates it and forces the tunnel to restart. 

I am curious how I would go about setting this up in OPNSense.  Thanks in advance.

-Eric