Replies: 15 comments
-
不清楚,我没有 OpenWrt 设备。。。因此我连你说的 openclash 是什么都不知道。。。 |
Beta Was this translation helpful? Give feedback.
-
用自带的脚本修改hosts |
Beta Was this translation helpful? Give feedback.
-
我猜,你的问题是,如果使用工具找出了高速的Cloudflare的IP节点,如何更新到自己的v2ray这类节点上。 在这里我是这样做的
bat脚本例子: DDNS_UID = changeip.com user id |
Beta Was this translation helpful? Give feedback.
-
我也有你这个想法,打算周末写个脚本,目前思路是: 2、stop openclash后用作者的优选工具选出5个较快的cf ip。 3、修改/etc/openclash/config下在用的yaml文件,把proxies里面5个节点的server修改成第2步获取到的5个ip地址。(因为openclash无法用uci set修改节点) 4、重新启动openclash。 |
Beta Was this translation helpful? Give feedback.
-
可以看看issue里面其它主题,有一个scan ip的项目我用下来感觉可以,找出的ip都延迟很小。 |
Beta Was this translation helpful? Give feedback.
-
我主要是考虑到使用优选工具前需要先把openclash的‘路由本机代理’这个选项关掉才能正确地优选IP和openclash自身restart速度很慢才去直接stop它,虽然openclash的stop函数确实有点粗暴~ |
Beta Was this translation helpful? Give feedback.
-
测速和优选都有在没有外网的环境下做,很费时,而且,我认为并不是带宽越大越好,最好还是节点离用户侧更近,延迟更少,才越稳定,性能也好,所以,我最近都在用IP—scaner的结果集去测速,这样快很多,效果很好,选五个节点做负载平衡,一般4k稳定秒开。 |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
写了两个小脚本,可以完成你说的启用自动更换IP; |
Beta Was this translation helpful? Give feedback.
-
提个小建议,测速前把openclash关掉,测速结果会更准确。或者uci set openclash.config.router_self_proxy='0'把’路由本机代理‘关掉,但可能是因为我用的是meta内核,貌似第二个方法并不生效。 |
Beta Was this translation helpful? Give feedback.
-
就是因为openclash干扰测速,所以crontab里的测速是在非openclash的路由器上完成的,再把最优结果ssh去openclash所在路由器。我的情况是把安装openclash的路由作为旁路由使用。 |
Beta Was this translation helpful? Give feedback.
-
我不使用meta内核,这个关掉后reload配置,本机代理仍旧生效。 |
Beta Was this translation helpful? Give feedback.
-
可以把cloudflare 测速地址,加入规则配置 -DOMAIN,url,DIRECT |
Beta Was this translation helpful? Give feedback.
-
请问openwrt下的openclash要怎么启用自动更换IP
Beta Was this translation helpful? Give feedback.
All reactions