I have a paid subscription to an OpenVPN compatible service. It is a basic setup as I only need a single program to go via the VPN tunnel, everything else should be via my standard Internet connection. My OpenVPN configuration is using the "route-nopull" directive, and I have then simply bound the program in question to use the VPN tunnel IP address. I have used the Windows firewall to block incoming and outbound traffic to/from this program via the standard Internet connection.
The issue I am having is that I have to have the following directives in my configuration as well as the route-nopull directive in order for the program in question to function properly (read: communicate with the outside world):
route-nopull
redirect-gateway def1
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
route 10.4.0.1
My issue is that when the VPN is connected, my normal Internet connection also uses the VPN connection DNS servers for some reason (as evidenced by ipleak.net). If I run "netsh interface ip show dns" the result is 192.168.1.1, which it should be, so why is ipleak showing my VPN's DNS servers?