smsinc
I was wondering if it was possible to configure OpenVPN to redirect a host name to a different IP address when connected to the VPN, and if so how to do it. I have a problem with my ISP sometimes not managing to forward my traffic to the endpoint. But I can connect to my VPN and user the internal IP address with no problems. So what I want to do is as follows:
I have a host name like "host.hostdomain.com" when I am just connected to the internet, that points to 186.12.12.12 (not the real address).
When connected to the VPN I would like "host.hostdomain.com" to point to 10.12.12.12.
Also I do not want any changes I make to effect any other traffic on the internet.
Is this possible and if so how do you do it?