前阵子本来用奈云机场用的好好的,但是最近几天切换到奈云机场,Clash就会报错:Could not switchto this profile! invalid dns enhanced-mode:redir-host。在其TG群里看了看,并不是我一个人遇到了该问题。
![如何解决Clash报错“Could not switch to this profile ” - 2 clash could not swicth to this profile](https://kerrynotes.com/wp-content/uploads/2023/09/clash-could-not-swicth-to-this-profile.webp)
解决办法
该问题的原因是Clash已经不支持redir-host
了,需要使用fake-ip
来替代。
所以我们可以手动将enhanced-mode
修改为fake-ip
。直接点击 Edit in Text Mode,如图所示,将redir-host
改成fake-ip
,然后点击右下方的绿色保存按钮。但这个方法有个弊端,因为现在订阅都是链接形式,更新后配置会被覆盖,需要自己反复修改。因此我们还需要再做点什么。
![如何解决Clash报错“Could not switch to this profile ” - 3 clash enchanced mode](https://kerrynotes.com/wp-content/uploads/2023/09/clash-enchanced-mode.webp)
将redir-host
改成fake-ip
之后,右键点击机场的profile,在下拉菜单中选择Parsers -> Edit Parsers。
![如何解决Clash报错“Could not switch to this profile ” - 4 clash profile](https://kerrynotes.com/wp-content/uploads/2023/09/clash-profile-proxies.webp)
![如何解决Clash报错“Could not switch to this profile ” - 5 edit parsers](https://kerrynotes.com/wp-content/uploads/2023/09/edit-parsers.webp)
添加以下代码,记得缩进要正确,不然会报错的。写完保存即可。这样之后哪怕更新订阅地址也不需要再修改enchanced-mode
了,但缺点是parsers
只能保存一个订阅地址。
![如何解决Clash报错“Could not switch to this profile ” - 6 clash edit parsers](https://kerrynotes.com/wp-content/uploads/2023/09/clash-edit-parsers.webp)
请问在哪里改?
现在奈云应该没这个毛病了吧