diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-08-05 08:05:25 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-08-05 08:05:30 -0400 |
commit | 6d57b3f5e495270a25ca6747a433cd806aa42521 (patch) | |
tree | 2b1d6762038d3edb53f9f7113d30a459d7d9d5f8 /config | |
parent | ee0fc5e40782e3e2e511f275f1aadc2cfa4f8ed4 (diff) |
fix
Diffstat (limited to 'config')
-rw-r--r-- | config/router.nix | 2 |
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; |