Nf_conntrack_max use with failover Mwan3

Hi I have setup Mwan3 in a failover config and I want to configure the max active connections to suit the Wan in use.

When connected to my WWAN backup service I wish to limit the active connections to 3000 and limit the max active connections per device to 50 but if it switches back to WAN (Fiber) I wish to set it back to OpenWrt default.

My ISP limits the connections to 3000 per node on the 4g LTE network where i have no such restrictions with Fiber.

I can set the limit with sysctrl.conf and my WWAN operates a lot better and you dont get symptoms like bufferbloat.