What's new
SNBForums

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

DNSCrypt works only when OpenVPN Client is connected

typhoonmaster

New Around Here
Hi All,

I use AC66U with Merlin .40.

I followed ryzhov_al' s instruction here and make it work only when my OpenVPN Client is connected to my VPN provider.

When VPN Client is off 127.0.0.1 cannot resolve my DNS queries. I suspect my DNSMasq config is broken, it listens interface=br0 and interface=tun21 (openvpn server), i tried to delete interface=tun21 or add interface=ppp0 however it doesn't help either.

Here is my dnsmasq.conf

Code:
pid-file=/var/run/dnsmasq.pid
user=nobody
resolv-file=/tmp/resolv.conf
no-poll
min-port=4096
bind-dynamic
interface=br0
domain=AC66U
expand-hosts
bogus-priv
local=/AC66U/
no-negcache
cache-size=1500
dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
dhcp-lease-max=253
dhcp-authoritative
dhcp-option=lan,15,AC66U
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,6,192.168.1.1,0.0.0.0
read-ethers
addn-hosts=/etc/hosts.dnsmasq
quiet-dhcp
interface=tun21
no-resolv
server=127.0.0.1#65053

Could you point what i am missing?

http://forums.smallnetbuilder.com/showthread.php?t=11645&highlight=dnscrypt&page=2
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top