windows 下有没有像 iptables 那样的东西拦截本地所有外发 53 端口的请求然后转向到另一个 ip 和端口?

2015 年 8 月 27 日
 cevincheung
5905 次点击
所在节点    Windows
7 条回复
undef404
2015 年 8 月 27 日
驱动里面 ndis filter 驱动 中间层驱动 wfp 驱动 都可以实现
应用层做 socket api hook 也行
Aliencn
2015 年 8 月 27 日
netsh interface portproxy add v4tov4 listenport=53 listenaddress=8.8.8.8 connectport=53 connectaddress=8.8.4.4

netsh interface portproxy show all
abelyao
2015 年 8 月 27 日
@undef404
@Aliencn
赞,收藏起来,以后 hook 一些应用的请求用得上
cevincheung
2015 年 8 月 27 日
@Aliencn 删除的指令是?
Aliencn
2015 年 8 月 27 日
@cevincheung

netsh interface portproxy help
cevincheung
2015 年 9 月 7 日
@Aliencn
再次感谢,还是没有解决问题。自己的思路也有问题。

isp 拦截所有 53 请求都转到他自己了
shaboyi999
2015 年 9 月 12 日
dnscrypt or dns over ipv6

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/216330

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX