openvpn: route all client over vpn, EXCEPT for a specific domain?

Started by anaxagoras, November 30, 2023, 06:43:19 PM

Previous topic - Next topic
I have an openvpn server set up, and i have it set up so that all client traffic is routed through the VPN.

Long story short, I want almost all client traffic routed over the VPN with a few specific exceptions, such as do not route xxx.yyy.com over the vpn, and if that's not possible, i can specify ip addresses, instead of hostnames, but it's just one more thing to keep track of if i move one of my cloud services to another cloud provider.

what's the best way to achieve this?