I use ublock origin for my browser and use Mullvad DNS with content blockers. I don't know what VPN you use but as long as you can set your own DNS then Mullvad servers should work.
If your router allows you to set the DNS server you can block ads network wide.

all 2 comments