Skip to content

Commit

Permalink
fix(fw/post): drop dnsmasq output requests
Browse files Browse the repository at this point in the history
make sure all dns queries can be handled by homeproxy.

Fixes: #234
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 committed Dec 3, 2024
1 parent 6c621fe commit 9ed964c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions root/etc/homeproxy/scripts/firewall_post.ut
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ chain homeproxy_redirect {
chain homeproxy_output_redir {
type nat hook output priority filter -105; policy accept
meta nfproto { {{ (ipv6_support === '1') ? 'ipv4, ipv6' : 'ipv4' }} } meta l4proto tcp jump homeproxy_redirect

udp dport 53 meta skuid dnsmasq counter reject comment "!{{ cfgname }}: DNS hijack"
}
{% endif %}

Expand Down

0 comments on commit 9ed964c

Please sign in to comment.