headless VPN on linux with minimal VPN traffic and selective DNS
I needed to setup a VPN client connection on a headless system where the VPN is slow and so I want to route the minimal amount of traffic through it. I need DNS to use the VPN but only for one domain.
This is my setup using pptp and dnsmasq (tested on centOS)