OPNsense Forum

English Forums => Virtual private networks => Topic started by: voideris on February 08, 2023, 02:59:07 AM

Title: Disable failover for VPN (wireguard) on multiwan setup
Post by: voideris on February 08, 2023, 02:59:07 AM
Hi everyone,
I have multiwan setup and wireguard vpn up and running and would like to disable failover for wireguard only.
What I have:

I think there are some problems with failover recovery with 23.1 but even without those I would rather have vpn bound to WAN1. I am fine with those dropping during WAN1 outage.

I have found https://forum.opnsense.org/index.php?topic=26315.msg127113#msg127113 (https://forum.opnsense.org/index.php?topic=26315.msg127113#msg127113):

QuoteCan you try floating rules, source WAN address, source port wg, Gateway WAN, outbound direction. Same for WAN2. I think the validation was removed some time ago

But I seem to not be able to set any source port when creating Floating rule. Am I missing something? Is this the correct way to set it up or should I try something else?

Thanks in advance.