cevincheung
V2EX  ›  Windows

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

  •  
  •   cevincheung · Aug 27, 2015 via iPhone · 5653 views
    This topic created in 3914 days ago, the information mentioned may be changed or developed.
    7 replies    2015-09-12 06:51:33 +08:00
    undef404
        1
    undef404  
       Aug 27, 2015
    驱动里面 ndis filter 驱动 中间层驱动 wfp 驱动 都可以实现
    应用层做 socket api hook 也行
    Aliencn
        2
    Aliencn  
       Aug 27, 2015   ❤️ 5
    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
        3
    abelyao  
       Aug 27, 2015 via iPhone
    @undef404
    @Aliencn
    赞,收藏起来,以后 hook 一些应用的请求用得上
    cevincheung
        4
    cevincheung  
    OP
       Aug 27, 2015
    @Aliencn 删除的指令是?
    Aliencn
        5
    Aliencn  
       Aug 27, 2015
    @cevincheung

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

    isp 拦截所有 53 请求都转到他自己了
    shaboyi999
        7
    shaboyi999  
       Sep 12, 2015
    dnscrypt or dns over ipv6
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   935 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 19:57 · PVG 03:57 · LAX 12:57 · JFK 15:57
    ♥ Do have faith in what you're doing.