[Dnsmasq-discuss] disable wan ping from inside

Don Muller don at djmuller.com
Tue Oct 14 17:35:47 BST 2014

I do not think it is DNSMASQ causing this. It is your router. It is probably doing an internal loop back on the external IP address. You would have to look at DD-WRT to see if there is a way to disable this feature.

Sent from my iPad

Don Muller

> On Oct 14, 2014, at 9:01 AM, Mayk Eskilla <meskilla at outlook.com> wrote:
> hello simon and dnsmasq list subscribers,
> I use dnsmasq in my dd-wrt router firmware, and after setting it up to my best knowledge I observed the following:
> *) ping requests to my WAN IP are unanswered when they originate from a WAN IP (expected behaviour)
> *) ping requests to my WAN IP are resolved, when the originate from a LAN IP (that is rather odd)
> *) browsing a connected dyn-DNS URL does connect me directly to the webinterface, even with remote access disabled. (rather confusing, as you are in fact resolved to the *internal* web interface, but it doesn't tell you that form reading the browser URL)
> Can I tweak dnsmasq with additional config paramters in order to disable those features?
> Attached are the dnsmasq configurations resulting out of dd-wrt gui setup:
> cat /tmp/dnsmasq.conf
> interface=br0
> resolv-file=/tmp/resolv.dnsmasq
> all-servers
> dhcp-leasefile=/tmp/dnsmasq.leases
> dhcp-lease-max=50
> dhcp-option=lan,3,
> dhcp-range=lan,,,,1440m
> stop-dns-rebind
> cat /tmp/dnsmasq.leases 
> 86400 <MAC1> <HOSTNAME1> *
> 86400 <MAC2> <HOSTNAME2> *
> cat /tmp/resolv.dnsmasq 
> nameserver <PROVIDER DNS IP 1>
> nameserver <PROVIDER DNS IP 2>
> Regards,
> Mayk
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141014/3266a2fa/attachment.html>

More information about the Dnsmasq-discuss mailing list