Add alternative secure tunel: tr-jan wing #405
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
使用说明
添加了另外一种安全、高效、可灵活组合的上网方式,链路为 dnsmasq + g--list + ipset --> socks/tr-jan -> 其中 tr-jan 既可以运行在路由器上,也可以是运行在其他设备上的任何SOCKS服务。相关功能默认未开启(建议不要和 SS 一同编译,虽然不会冲突);启用步骤如下:
CONFIG_FIRMWARE_INCLUDE_WING=y
后编译固件。参数设置
-脚本
-路由器启动后脚本
中,启用wing HOST 443 PASS
一行(去掉 # 号,替换服务器和密码)。参数设置
-脚本
-防火墙启动后脚本
中,启用wing resume
(去掉 # 号)。以上,在NEWIFI3->GCP上速度大概能到40Mbps。最关键的是,相当的稳、稳、稳…
进阶:如果把 tr-jan 移到 N1 等设备上运行,以上第 2 步可启用
wing 192.168.1.9 1080
一行(去掉 # 号,替换 SOCKS 服务器地址和端口),在NEWIFI3+N1->GCP上实测速度可达 320Mbps 以上。备注:dns2tcp 运行在 UDP 54 而不是著名的 5353(mDNS/Bonjour),避免 AirPlay 等苹果设备错误访问 DNS 的问题,以前多数人使用 5353 是个彻底的错误(比如乐播投屏会频繁访问路由器的 5353 UDP 端口来查询 local 的域名,导致 dns2tcp/dnsforwarder 等频繁的错误查询记录)。
未来计划
以上只是计划,可能大概率不会全部去做,小富即安够用就好:)