summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/router.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/router.nix b/config/router.nix
index 34d9737..73ba16d 100644
--- a/config/router.nix
+++ b/config/router.nix
@@ -71,7 +71,7 @@ in {
# Forward dns queries to dnsmasq on LAN interfaces.
domain (ip ip6) table nat chain PREROUTING {
- interface ($DEV_LAN $DEV_UNTRUSTED_LAN) daddr $NET_LAN proto (tcp udp) dport 53 DNAT to localhost:2053;
+ interface ($DEV_LAN $DEV_UNTRUSTED_LAN) daddr $NET_LAN proto (tcp udp) dport 53 DNAT to 127.0.0.1:2053;
}
domain (ip ip6) table filter chain FORWARD {
interface ($DEV_LAN $DEV_UNTRUSTED_LAN) outerface lo proto (tcp udp) dport 2053 ACCEPT;