Updated Configuring example (markdown)
@@ -1,3 +1,4 @@
|
||||
This document is an example refers to [config.yaml](https://github.com/MetaCubeX/Clash.Meta/blob/Alpha/docs/config.yaml) in Alpha branch.
|
||||
## General
|
||||
```yaml
|
||||
# port:7890 # HTTP(S) 代理服务器端口
|
||||
@@ -43,6 +44,11 @@ external-ui:/path/to/ui/folder # 配置 WEB UI 目录,使用 http://{{external
|
||||
|
||||
# interface-name:en0 # 设置出口网卡
|
||||
|
||||
# global-client-fingerprint:全局TLS指纹,优先低于proxy内的 client-fingerprint
|
||||
# accepts "chrome","firefox","safari","ios","random","none" options.
|
||||
# Utls is currently support TLS transport in TCP/grpc/WS/HTTP for VLESS/Vmess and trojan.
|
||||
|
||||
global-client-fingerprint: chrome
|
||||
# routing-mark:6666 # 配置 fwmark 仅用于 Linux
|
||||
experimental:
|
||||
|
||||
@@ -122,7 +128,7 @@ sniffer:
|
||||
# force-dns-mapping:false
|
||||
## 对所有未获取到域名的流量进行强制嗅探
|
||||
# parse-pure-ip:false
|
||||
# 是否使用嗅探结果作为实际访问,默认 false
|
||||
# 是否使用嗅探结果作为实际访问,默认 true
|
||||
# 全局配置,优先级低于 sniffer.sniff 实际配置
|
||||
override-destination:false
|
||||
sniff:
|
||||
@@ -389,7 +395,9 @@ proxies:
|
||||
grpc-opts:
|
||||
grpc-service-name:"example"
|
||||
# ip-version:ipv4
|
||||
|
||||
```
|
||||
### Socks & HTTP
|
||||
```
|
||||
# socks5
|
||||
- name:"socks"
|
||||
type:socks5
|
||||
@@ -610,7 +618,7 @@ proxies:
|
||||
## Proxy-groups
|
||||
Active health detection `urltest / fallback` (based on tcp handshake, multiple failures within a limited time will actively trigger health detection to use the node)
|
||||
|
||||
Support `Policy Group Filter`
|
||||
|
||||
```yaml
|
||||
proxy-groups:
|
||||
# 代理链,若落地协议支持 UDP over TCP 则可支持 UDP
|
||||
@@ -674,6 +682,7 @@ proxy-groups:
|
||||
proxies:
|
||||
- DIRECT
|
||||
|
||||
# Support `Policy Group Filter`
|
||||
- name:UseProvider
|
||||
type:select
|
||||
filter:"HK|TW" # 正则表达式,过滤 provider1 中节点名包含 HK 或 TW
|
||||
|
||||
Reference in New Issue
Block a user