Skip to content
Stuff I'm Up To
Go back
OpenWrt - DNS Hijacking

OpenWrt - DNS Hijacking

Updated:

For users of our LAN and Guest networks, I want to grab all their DNS calls and service them using our own resolver. This means that any call to an external DNS server would be intercepted, and the query sent to our own systems. This is a useful security technique that means should something nasty get hold of a client and change its resolver to point at one of its malicious DNS servers, we will still capture the query and redirect it back to our known good DNS resolver.

I need to add a Port Forward for each zone I want to intercept DNS traffic on, eg.

[TABLE]

To match these settings, choose to add a port forward and fill the dialog like this:

Namedns hijack
ProtocolTCP | UDP
Source Zoneguest
External Port53
Destination Zoneservers
Internal IP Address10.10.4.1
Internal Port53

Share this post:

Previous Post
polkit-error-quark
Next Post
LUKS Password Problems