Multi-Wan openvpn client

Started by neroita, May 23, 2022, 04:50:54 PM

Previous topic - Next topic
Hi All, I'm trying to configure a multi-wan openvpn client.

My multi-wan works , I have a gateway group and a rule on lan policy that redirect all connection to gateway group.

The problem is that when main gw go down my lan continue to work BUT opnsense itself ( the router ) don't change the gateway.

I can't set a rule as I have auto-created rules that say (self) should go trought default gateway.

So also openvpn client that have source ip of the router don't switch gateway and go down.

Is there a way to remove auto-generated or add a rule before ? 
Is that the right way to do that ? Or I can set some rule specific for openvpn client in some place ?

Thank's in advance,
marco.

OK , I reply by myself....

openvpn client use LOCAL router address to connect so U don't need to use a gateway group,
you only need to set the gateway to move on router config and it works.

Now I have a site-to-site vpn that have two wan on a side and two wan on the other side and if ANY wan
interface go down it move the traffic to remain on line.

really nice.

Bye all.