You are not logged in.
Pages: 1
Hi,
What's the best way to make sure that DNS requests pass through the VPN connection?
Simple way I see is to edit /etc/resolv.conf .
Hard way would be with iptables I guess, but I don't see how. Main Internet connection is through router gateway, using wifi. I could redirect everything that wants to exit through router gateway to tun interface, but it's too complicated for me, just configuring resolv.conf would get rid of any potential DNS leak?
Offline
sudo tcpdump -i your-wifi-interface port 53If it shows anything then you are leaking.
Offline
L.E. Ignore, I understand. Ops.
Last edited by MilenKid (2013-04-23 09:31:08)
Offline
Pages: 1