I've set up an OpenVPN server on a VPS (ubuntu 11.04) and configured clients (mix of ubuntu 11.10 and 12.04) to use it. After starting the VPN connection on the client, all internet traffic gets routed trough the VPS.
I would like to route only some of the traffic trough this setup. I have a list of domain names (which I could translate into IP addresses) and I want only those addresses to go trough the VPN, while all other should go out the normal way. I would very much prefer to maintaint all configs on the server and not have to deal with updating every single client.
I'd appreciate some help as to how to make this happen.