VPN client interface only for specific url list

Hello everyone, on my original firmware there was an option to route the traffic in direction of only some web site (list of the domain name on a file) to the VPN client configurate on the router. Do you now if is it possible (easly) on LEDE ?

If you got a list of IP addresses then it would be simple since you could add static routes for them on the tunnel interface (in case you use Openvpn or IPsec with vti).

Doing the same with domain names would mean first looking up the IP addresses and use them. (Other domains might be configured on the same servers and use the same IP addresses.

What you are looking for is precisely what

https://forum.openwrt.org/t/vpn-policy-based-routing-web-ui-discussion/

does.

Thank's it is exactly what i'm looking for ! I will test it.