PBR stopping to work

Hello guys, I'm using OpenWRT on my FLINT2 router and its working great!

Now i have a current problem with my VPN and routing setup.

Basically I have an Wireguard client interface running smoothly on the router. Then I wanted to route all traffic from a local subnet through that VPN, but still allow other local devices (from other subnets) to access services inside the subnet that gets routed through the VPN.

I've been using PBR for this, and in general its working... but every few hours it basically stops working, VPN interface still up etc. But just the PBR routing stops working and I always need to go in there and restart it to continue working.

Does anyone have an idea how to fix this? I've already tried replacing PBR with static routes in /etc/config/network/

but when doing this, I get some MTU problems and "stream truncated" while torrenting and accessing some websites through the subnet that gets routed through VPN.

It might help tracking down the issue if you show us your configs.

Please connect to your OpenWRT device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button

Remember to redact keys, passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/firewall
cat /etc/config/pbr
service pbr restart
service pbr status
ip route show
ip -6 route show
ip route show table all
ip rule show
wg show