I've installed OpenVPN server on my Ubuntu server via https://git.io/vpn and it works like a charm! However a new request came in and it is rather complicated.
You see, the clients connecting this VPN are doing so, because we have limited acces to some URLs we manage. They need specific IP to access it, thus, they are using the VPN. The problem is, their whole traffic goes thru the VPN. We need to forward the traffic thru the VPN server only if the URL contains the specific domain, we've restricted. Everything else needs to go thru their own ISP.
In lame mans term: If VPN is connected, use local clients internet connection EXCEPT if the URL exuals example.com
.
I'm not a big VPN magician, can you aid me a little?