Page 1 of 1

Use VPN without the DNS Fallback option

Posted: Mon May 04, 2015 7:05 am
by laclac
Hi,

I create a VPN server with openVPN, and I can connect with my Android.
So All works.

But I have a problem.
The DNS Fallback is enable.
And I don't want to forward my traffic on the DNS on Google.
But When I disable this option, the VPN tunnel doesn't work.
I can connect but I have access to Internet ... :(
How can I make to use the VPN with my DNS ?

Config on my Android:

Code: Select all

client
dev tap
proto udp
remote 80.134.226.156 56789

resolv-retry infinite
nobind

# Try to preserve some state across restarts.
persist-key
persist-tun

ca ca.crt
cert Server.crt
key Server.key
remote-cert-tls server
tls-auth ta.key 1

cipher BF-CBC 
comp-lzo

verb 3
route-method exe
route-delay 2

Thank you

Re: Use VPN without the DNS Fallback option

Posted: Sun May 17, 2015 3:59 am
by laclac
Hi,

For information I found the problem.
The tethering system service (DHCP and DNS) was blocking on my Android.
I unlocked and now, OpenVPN client works without the fallback.

Thank you