Flush states when primary gateway is online after failover
-
I have a pfsense box that I use with my main ISP and a cellular backup. The failover works great if the main connection dies, however, I am running into trouble when the primary gateway comes back online. It doesn’t seem to flush the states from the failover connection so some traffic is still flowing through it, and given it is a cellular backup, I don’t want to use up that data if the primary is back online. Am I perhaps missing a setting to flush states once the primary gateway comes back online or is it somehow not implemented? Any help is appreciated!
-
search the forum, there is a script somewhere
basically it's normal behavior, until a state is active it will remain on the failover connection, when the state expire all new connection are made on the primary connection -
@kiokoman So this actually isn't a feature that is implemented? That's insane, it can flush states when a gateway goes down but not when it comes back up... I'll see if I can find the script but wow... This is like basic failover functionality...
-
there are more info here
https://forum.netgate.com/topic/84269/multi-wan-gateway-failover-not-switching-back-to-tier-1-gw-after-back-online/86