From 2bbb7a66ea0c2e9a06418f2c8a3403421b612da2 Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:17:30 +0800 Subject: [PATCH] Updated Configuring example (markdown) --- Configuring-example.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Configuring-example.md b/Configuring-example.md index 91c4fee..0472c1f 100644 --- a/Configuring-example.md +++ b/Configuring-example.md @@ -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