I have recently installed my own OpenVPN server on digital ocean following this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04
I tried playing with the following option:
push "redirect-gateway def1 bypass-dhcp"
When it is commented out, my original IP is visible, when this option is on, I can only ssh or ping servers by ip, but cannot by any means get their name servers resolved.
I tried all the solutions offered here: openvpn client connects to server but name resolution does not work
But unfortunately nothing worked.
Server: Ubuntu 16.04 @ Digital Ocean Client: tried both Viscosity and TunnelBlick (OSX El Capitan)