Dragon2fly / vpngate-with-proxy

vpn gate client for linux, be able to connect to open vpn server through proxy
GNU General Public License v2.0
249 stars 71 forks source link

How to access local domain with VPN? #22

Closed lbngoc closed 4 years ago

lbngoc commented 6 years ago

Currently, I use dnsmasq to forward all domain with TLD .dev to my local ip 127.0.0.1, everything is working fine. But when I connect to a VPN, I cannot open my domain.dev, please help me to config it.

Dragon2fly commented 6 years ago

Hi @lbngoc

The program changes your DNS to Google while you are on VPN to prevent DNS leak. If you already have the your DNS working securely, then you just need to disable Fix DNS Leak option in order to use your own DNS server.

Happy new year.

Update: Or just add your own dns server ip to the top of DNS item in the config.ini file :)