Closed ghost closed 4 years ago
脱敏后的raw config文件如下:
port: 7890
socks-port: 7891
redir-port: 7892
dns:
enable: true
ipv6: false
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
nameserver:
- 223.5.5.5
- 1.2.4.8
- 119.29.29.29
proxies:
- { name: "CN-HK1", type: vmess, udp: true, server: cn.test.org, port: 10100, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }
- { name: "CN-TW1", type: vmess, udp: true, server: cn.test.org, port: 10200, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }
- { name: "CN-US1", type: vmess, udp: true, server: cn.test.org, port: 10300, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }
proxy-groups:
- name: "FAST"
type: url-test
proxies:
- CN-HK1
- CN-TW1
- CN-US1
url: 'https://cp.cloudflare.com/generate_204'
interval: 1800
- name: "HK"
type: url-test
proxies:
- CN-HK1
url: 'https://cp.cloudflare.com/generate_204'
interval: 86400
- name: "TW"
type: url-test
proxies:
- CN-TW1
url: 'https://cp.cloudflare.com/generate_204'
interval: 86400
- name: "US"
type: url-test
proxies:
- CN-US1
url: 'https://cp.cloudflare.com/generate_204'
interval: 86400
rules:
# > LAN
- DOMAIN-SUFFIX,local,DIRECT
- IP-CIDR,127.0.0.0/8,DIRECT
- IP-CIDR,172.16.0.0/12,DIRECT
- IP-CIDR,192.168.0.0/16,DIRECT
- IP-CIDR,10.0.0.0/8,DIRECT
- IP-CIDR,100.64.0.0/10,DIRECT
# > China
- GEOIP,CN,DIRECT
# > Final
- MATCH,FAST
你发的看不出来问题,你把启动配置文件发出来
你发的看不出来问题,你把启动配置文件发出来
现在启动配置文件就是raw config文件,因为好像写不了新的配置,或者写了配置后启动失败就被还原到raw config文件了。
报错应该就是发生在第三步修改配置文件那里。
直接使用这个raw config文件,在服务器和策略组那里点一下读取配置,然后规则集和策略组那里添加几个用不同策略组的规则集,例如:给disney plus添加一个走US策略组的规则。
然后重启openclash应该就可以复现了。
配置文件: config.zip
2020-11-24 10:17:14 History:【config.yaml】 Update Faild
2020-11-24 10:16:14 History:【config.yaml】 Update Faild
2020-11-24 10:15:41 Warning: OpenClash Start Successful With Raw Config File, Please Note That It's Restricted Mode Now
2020-11-24 10:16:10 History:【config.yaml】 Restore Successful
2020-11-24 10:15:56 level=info msg="Redir proxy listening at: 127.0.0.1:7892"
2020-11-24 10:15:56 level=info msg="SOCKS proxy listening at: 127.0.0.1:7891"
2020-11-24 10:15:56 level=info msg="HTTP proxy listening at: 127.0.0.1:7890"
2020-11-24 10:15:56 level=info msg="DNS server listening at: 127.0.0.1:7874"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider HK"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider TW"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider US"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider FAST"
2020-11-24 10:15:41 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
2020-11-24 10:15:48 level=fatal msg="Parse config error: proxy CN-US1 is the duplicate name"
2020-11-24 10:15:41 History:【config.yaml】 Update Faild
同样的配置文件上个版本是好的。