diff --git a/Configuring-example.md b/Configuring-example.md index 24a0c5d..9514c1b 100644 --- a/Configuring-example.md +++ b/Configuring-example.md @@ -158,35 +158,6 @@ sniffer: # - 8000-9999 ``` -## 入口配置 -传入流量将和 socks,mixed 等入口一样按照 mode 所指定的方式进行匹配处理 - -### ss-config: -``` -ss://2022-blake3-aes-256-gcm:vlmpIPSyHH6f4S8WVPdRIHIlzmB+GIRfoH3aNJ/t9Gg=@:23456 -``` -### vmess-config: -``` -vmess://1:9d0cb9d0-964f-4ef6-897d-6c6b3ccf9e68@:12345 -``` - -### tuic 服务器入口 -传入流量将和 socks,mixed 等入口一样按照 mode 所指定的方式进行匹配处理 -```tuic-server: -# enable:true -# listen:127.0.0.1:10443 -# token: -# - TOKEN -# certificate:./server.crt -# private-key:./server.key -# congestion-controller:bbr -# max-idle-time:15000 -# authentication-timeout:1000 -# alpn: -# - h3 -# max-udp-relay-packet-size:1500 -``` - ## tunnels ``` tunnels: @@ -276,7 +247,7 @@ tunnels: "www.baidu.com":[https://doh.pub/dns-query,https://dns.alidns.com/dns-query] ``` -# proxies +## Proxies ```proxies: # Shadowsocks # cipher 支持: @@ -685,9 +656,12 @@ proxy-groups: - provider1 proxies: - Proxy - - DIRECT``` + - DIRECT +``` -# Clash 格式的节点或支持 *ray 的分享格式 +## Providers +### proxy-providers +``` proxy-providers: provider1: type:http @@ -706,6 +680,10 @@ proxy-providers: enable:true interval:36000 url:https://cp.cloudflare.com/generate_204 +``` + +### rule-providers +``` rule-providers: rule1: behavior:classical # domain ipcidr @@ -881,4 +859,35 @@ listeners: # include_package:# 限制被路由的 Android 应用包名 # - com.android.chrome # exclude_package:# 排除被路由的 Android 应用包名 - # - com.android.captiveportallogin``` + # - com.android.captiveportallogin +``` + +## 入口配置 +入口配置与 Listener 等价,传入流量将和 socks,mixed 等入口一样按照 mode 所指定的方式进行匹配处理 + +### ss-config: +``` +ss://2022-blake3-aes-256-gcm:vlmpIPSyHH6f4S8WVPdRIHIlzmB+GIRfoH3aNJ/t9Gg=@:23456 +``` +### vmess-config: +``` +vmess://1:9d0cb9d0-964f-4ef6-897d-6c6b3ccf9e68@:12345 +``` + +### tuic 服务器入口 +传入流量将和 socks,mixed 等入口一样按照 mode 所指定的方式进行匹配处理 +``` +tuic-server: + enable: true + listen: 127.0.0.1:10443 + token: + - TOKEN + certificate: ./server.crt + private-key: ./server.key + congestion-controller: bbr + max-idle-time: 15000 + authentication-timeout: 1000 + alpn: + - h3 + max-udp-relay-packet-size: 1500 +``` \ No newline at end of file