opt-script icon indicating copy to clipboard operation
opt-script copied to clipboard

clash的fake-ip模式问题,还有一些其他clash问题

Open ghost opened this issue 3 years ago • 0 comments

问题1:开启 Clash fake-ip 模式 流量无法被转发

  • DNS 解析正常
  • 已开启 透明代理

手动加入防火墙脚本后流量正常转发

# Clash 小猫喵
iptables -t nat -A PREROUTING -d 198.18.0.0/16 -p tcp -j REDIRECT --to-ports 7892
iptables -t nat -A OUTPUT -d 198.18.0.0/16 -p tcp -j REDIRECT --to-ports 7892

问题2:自定义 gfwlist 列表

Clash 这一块的功能好像有点乱,gfwlist 要到 Shadowsocks 菜单里面添加。

问题3:Clash 不兼容 chinadns_ng

  • 如果使用 chinadns 能正确识别到 chinadns,并更改 clash dns 端口到 8054
  • 如果使用 chinadns_ng 则不能自动调整端口到 8054
  • 一般 ss_tproxy 自带的 gfwlist 就够用了,也不太能用到 chinadns,这个问题不太影响使用

非常感谢 hiboy 维护

ghost avatar Nov 21 '21 08:11 ghost