Using regex/wildcard in VPN policy filters

Hello,

I would like to exclude websites from a certain set of domain names (e.g. *.xyz) from going through the VPN. Is this possible?

As far as I understand, currently Policy filter only accepts specific domain names

You cannot use wildcard now.

Related, Is there a way/workaround to import a long list of domain/ips from a text file instead of entering them manually one by one?

(or a long string that can be parsed and separated by the vpn policy)

You can modify the files directly here

/etc/route_policy/