Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
DsHale
V2EX  ›  Linux

透明代理(ChinaDNS)是否属于国外地址段的流量都会经过代理?

  •  
  •   DsHale · Mar 3, 2019 · 3295 views
    This topic created in 2640 days ago, the information mentioned may be changed or developed.
    配置了透明代理,并使用 ChinaDNS 做了分流,但是这个好像只是对 DNS 解析做了分流,那么解析后的地址如果是属于国外 IP,即使这个 ip 可以不通过代理也能访问,那么还是会将流量转发到代理吗?
    1 replies    2019-03-03 19:01:32 +08:00
    null4a79
        1
    null4a79  
       Mar 3, 2019
    chinadns 本身只是用来提供一个抗污染的 dns,具体流量是怎么转发的要看你的 iptables 规则等其他的设置,可以参考一下 ss-tproxy 的实现。虽然通常会使用 chinadns 自带的国内 ip 段文件,但转发流量并不是 chinadns 本身的功能。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1178 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    ♥ Do have faith in what you're doing.