Wwan as backup wan in pbr

I'm trying to setup an extra wan (wwan) as backup in case my normal wan fails.

But when I add the wwan interface, pbr makes it the default gateway. I did this in the past, but I have no clue what so ever how to make my normal wan default again.

I clearly missing something.

For now I removed the wwan device, anyone can put me in de right direction?
The readme is clear about vpn connections, but somehow I think I missed something.

Are you using PBR for other purposes? That doesn't present any inherent conflicts, but if you don't need PBR, there is mwan3 which is possibly better suited to your task. Both PBR and mwan3 can be used to achieve you goals, but mwan3 is specifically setup for multi-wan, so setting up failover vs load balancing, setting up which is the primary and what is the backup connection, etc... all a bit more straight forward with mwan3.

If you're using PBR already for other reasons, I'm not positive if the two can co-exist (since they do have overlapping functions), so please wait for others to chime in before you try to run both.

1 Like

I use pbr for a vpn (wireguard) connection to some of my clients.

I removed my wwan interface and added it again, and now somehow it's ok again. So I must have done something wrong. can't figure out what.

Anyway, thanks for the help.