OPNsense Forum

English Forums => Virtual private networks => Topic started by: ricksense on January 16, 2025, 09:05:02 PM

Title: Wireguard road warrior and Dual-WAN failover setup problem
Post by: ricksense on January 16, 2025, 09:05:02 PM
Hi everyone,
I have set a Dual-WAN failover up on my OPNsense v. 24.7.8. The WAN1 gets a static IP, while WAN2 is under NAT and gets a dynamic IP.
As long as the WAN1 is up, the external PC connected to OPnsense via a Road Warrior Wireguard tunnel can reach the LAN behind OPNsense, but if WAN1 goes down there is no connection anymore (only the devices behind OPNsense can go to internet via WAN2..as expected).
I set up monitoring on the WAN interfaces as well as "Allow default gateway switching", but Wireguard still doesn't work via WAN2.
Any suggestions please?
Thanks