Clash X Pro相关
Table of Contents
Q:MacOSX升级问题,导致ClashXPro失效。
背景描述:
之前系统是MacOSX10.14,有一个致命的bug,即输入法不兼容微信App,虽然偶现,但是最近一段时间频繁偶现了。找了一些办法依然无法解决,加上得知最近出了MacOSX新系统14.0,抱着尝鲜的态度,我升级了。然后,就出现了ClashXPro失效了。具体表现为:打开App,弹窗显示:需要安装一个帮助程序,点击确定安装,弹窗关闭。配置文件显示可以科学上网,但是,打开Google首页失败。
解决办法:
- 右键App图标选择「更多设置」-> 调试 -> 助手程序 -> 点击移除助手程序;
- 卸载App;
- 重新安装App,打开App,重新安装助手程序;重新打开Google首页;
原理: MaxOSX10.14系统的ClashX助手程序,不支持14.0。
ClashXPro介绍
- 可以用来科学上网的 客户端 ;
- 有Windows版、Mac版、Ios版、安卓版;
- 支持各种协议:Shadowsocks(ss)、Shadowsocks(simple-obfs)、Shadowsocks(v2ray-plugin)、VMess、Trojan
- 服务端可以订阅 免费服务端提供商 、 付费服务端提供 ,也可以自建服务端。
自建服务端
- 有境外VPS;
- 可以安装Shadowsocks 或 v2ray 或 VMess 或 Trojan等服务软件;
- 国内VPS服务商的境外VPS,不一定支持这些协议,建议选择国外服务商的VPS;
默认配置文件
#---------------------------------------------------# ## 配置文件需要放置在 $HOME/.config/clash/*.yaml ## 这份文件是clashX的基础配置文件,请尽量新建配置文件进行修改。 ## 端口设置请在 菜单条图标->配置->更多配置 中进行修改 ## 如果您不知道如何操作,请参阅 官方Github文档 https://dreamacro.github.io/clash/ #---------------------------------------------------# mode: rule log-level: info proxies: proxy-groups: rules: - DOMAIN-SUFFIX,google.com,DIRECT - DOMAIN-KEYWORD,google,DIRECT - DOMAIN,google.com,DIRECT - DOMAIN-SUFFIX,ad.com,REJECT - GEOIP,CN,DIRECT - MATCH,DIRECT
标准配置文件
- 标准配置文件
- 主要配置
# Shadowsocks
- name: "ss"
type: ss
server: xxx.xxx.xxx.xxx
port: 61943
cipher: aes-256-gcm
password: "password"
# udp: true
# Shadowsocks(simple-obfs)
- name: "ss-obfs"
type: ss
server: server
port: 443
cipher: chacha20-ietf-poly1305
password: "password"
plugin: obfs
plugin-opts:
mode: tls
host: example.com
# Shadowsocks(v2ray-plugin)
- name: "ss-v2ray"
type: ss
server: server
port: 443
cipher: chacha20-ietf-poly1305
password: "password"
plugin: v2ray-plugin
plugin-opts:
mode: websocket # no QUIC now
# tls: true # wss
# skip-cert-verify: true
# host: bing.com
# path: "/"
# mux: true
# headers:
# custom: value
# VMess
- name: "v2ray"
type: vmess
server: xxx.xxx.xxx.xxx
port: 28595
uuid: uuid
alterId: 64
cipher: auto
# udp: true
# tls: true
# tls-hostname: 填写伪装域名
# skip-cert-verify: true
# network: ws
# ws-path: /path
# ws-headers: #这一行后面不要写东西
# Host: v2ray.com #填写伪装域名
# Trojan
- name: "trojan"
type: trojan
server: server
port: 443
password: password
# udp: true
# sni: example.com # 填写伪装域名
alpn:
- h2
- http/1.1
# skip-cert-verify: true