4

求教怎么设置 openwrt 上的 shellclash

 8 months ago
source link: https://www.v2ex.com/t/1004954
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  OpenWrt

求教怎么设置 openwrt 上的 shellclash

  Fortississimo16 · 9 小时 58 分钟前 · 349 次点击
  1. 设备:x86 架构的 J5040 主机,系统是硬盘单跑一个 openwrt ,硬盘是 USB 外接的
  2. 固件:从 haiibo ,kiddin9 ,immortalwrt 全部都用过,都是同样的问题
  3. 网络拓扑: 光猫拨号,J5040 WAN 口设置为 DHCP 客户端 光猫 LAN-->J5040 WAN ,J5040 LAN-->无线 AP WAN ,全家所有设备均连接该 AP 上网

问题: 在 openwrt 刚刚安装上,唯一操作是把默认 LAN 口 IP 从 192.168.1.1 改成 192.168.24.1 ,其他不修改任何的系统设置。 在系统纯净的基础上,安装 shellclash ,模式选择 Redir/Tproxy 模式/TUN/Ntf 基础/Ntf 混合+redir_host ,在任意支持的内核下均能正常运作。 但是在过了数小时,或一天半天以后,就会出现节点全部失效,无法上网。有时体现为国内正常+国外异常,有时国内外都异常,有时国外只有 Google 能进行搜索(我理解为有 DNS 缓存)

节点情况:高端一线,使用流量的情况下在其他平台客户端能稳定使用。在 shellclash 崩掉的情况下也是正常的

所以我认为问题应该出在 DNS 上,但是我实在是没有能力和头绪解决这个问题。希望各位能帮忙看看到底是什么情况。如果能解决的话,我也很乐意付费咨询,我仅仅是希望弄明白,可以把问题处理了,稳定运行。

PS:因为我非常依赖分流规则,所以如果能解决的话就不考虑 passwall 等插件


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK