Skip to content

Commit

Permalink
fix(dns): more rule for #287 (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG authored Nov 9, 2024
1 parent 00d17e4 commit 99583b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mihomo/files/nftables/hijack.nft
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ table inet mihomo {
ip6 daddr @china_ip6 counter return
meta l4proto . th dport != @acl_dport ip daddr != @fake_ip counter return
meta nfproto ipv6 meta l4proto . th dport != @acl_dport counter return
meta l4proto { tcp, udp } th dport 53 counter return
meta l4proto udp th dport 53 counter return
}

chain mangle_output {
Expand All @@ -205,6 +205,6 @@ table inet mihomo {
ip6 daddr @china_ip6 counter return
meta l4proto . th dport != @acl_dport ip daddr != @fake_ip counter return
meta nfproto ipv6 meta l4proto . th dport != @acl_dport counter return
meta l4proto { tcp, udp } th dport 53 counter return
meta l4proto udp th dport 53 counter return
}
}

0 comments on commit 99583b3

Please sign in to comment.