docs: update clash conf

This commit is contained in:
SunBK201 2023-12-28 23:18:23 +08:00
parent 79c9643bb2
commit 1163f8803c
4 changed files with 37 additions and 11 deletions

View File

@ -95,13 +95,13 @@ rules:
### Clash 懒人配置
与 UA3F 适配的懒人配置:[clash.yaml](https://cdn.jsdelivr.net/gh/SunBK201/UA3F@master/clash.yaml)
注意需要在 proxy-providers > Global-ISP > url 中(第 76 行)加入你的代理节点订阅链接。
提供 2 个参考配置:
1. 国内版,无需进行任何修改,可直接使用 [ua3f-cn.yaml](https://cdn.jsdelivr.net/gh/SunBK201/UA3F@master/clash/ua3f-cn.yaml)
2. 国际版,针对有特定需求的特殊用户进行适配,[ua3f-global.yaml](https://cdn.jsdelivr.net/gh/SunBK201/UA3F@master/clash/ua3f-global.yaml)注意需要在 proxy-providers > Global-ISP > url 中(第 76 行)加入你的代理节点订阅链接。
## Roadmap
- [ ] 支持 LuCI
- [x] 支持 LuCI
- [x] 优化部署流程
- [ ] 支持 SOCK5 Auth
- [ ] 支持 UDP

View File

@ -1,14 +1,8 @@
mixed-port: 7890
allow-lan: false
bind-address: '*'
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
ipv6: false
profile:
store-selected: false
proxies:
- name: "ua3f"
type: socks5

33
clash/ua3f-cn.yaml Normal file
View File

@ -0,0 +1,33 @@
---
#--------------------------------------------------------------------------------------#
# Written by SunBK201
# https://github.com/SunBK201/UA3F
#--------------------------------------------------------------------------------------#
mixed-port: 7890
#--------------------------------------------------------------------------------------#
ipv6: false
mode: rule
#--------------------------------------------------------------------------------------#
dns:
#--------------------------------------------------------------------------------------#
proxies:
- name: "ua3f"
type: socks5
server: 127.0.0.1
port: 1080
url: http://connectivitycheck.platform.hicloud.com/generate_204
udp: false
#--------------------------------------------------------------------------------------#
proxy-providers:
#--------------------------------------------------------------------------------------#
proxy-groups:
#--------------------------------------------------------------------------------------#
rules:
- PROCESS-NAME,ua3f,DIRECT
- NETWORK,udp,DIRECT
- MATCH,ua3f
#--------------------------------------------------------------------------------------#
rule-providers:
#--------------------------------------------------------------------------------------#
parsers:
#--------------------------------------------------------------------------------------#

View File

@ -1,4 +1,3 @@
---
#--------------------------------------------------------------------------------------#
# Written by SunBK201
# https://github.com/SunBK201/UA3F