Updated Configuring example (markdown)
@@ -158,35 +158,6 @@ sniffer:
|
|||||||
# - 8000-9999
|
# - 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
|
||||||
```
|
```
|
||||||
tunnels:
|
tunnels:
|
||||||
@@ -276,7 +247,7 @@ tunnels:
|
|||||||
"www.baidu.com":[https://doh.pub/dns-query,https://dns.alidns.com/dns-query]
|
"www.baidu.com":[https://doh.pub/dns-query,https://dns.alidns.com/dns-query]
|
||||||
```
|
```
|
||||||
|
|
||||||
# proxies
|
## Proxies
|
||||||
```proxies:
|
```proxies:
|
||||||
# Shadowsocks
|
# Shadowsocks
|
||||||
# cipher 支持:
|
# cipher 支持:
|
||||||
@@ -685,9 +656,12 @@ proxy-groups:
|
|||||||
- provider1
|
- provider1
|
||||||
proxies:
|
proxies:
|
||||||
- Proxy
|
- Proxy
|
||||||
- DIRECT```
|
- DIRECT
|
||||||
|
```
|
||||||
|
|
||||||
# Clash 格式的节点或支持 *ray 的分享格式
|
## Providers
|
||||||
|
### proxy-providers
|
||||||
|
```
|
||||||
proxy-providers:
|
proxy-providers:
|
||||||
provider1:
|
provider1:
|
||||||
type:http
|
type:http
|
||||||
@@ -706,6 +680,10 @@ proxy-providers:
|
|||||||
enable:true
|
enable:true
|
||||||
interval:36000
|
interval:36000
|
||||||
url:https://cp.cloudflare.com/generate_204
|
url:https://cp.cloudflare.com/generate_204
|
||||||
|
```
|
||||||
|
|
||||||
|
### rule-providers
|
||||||
|
```
|
||||||
rule-providers:
|
rule-providers:
|
||||||
rule1:
|
rule1:
|
||||||
behavior:classical # domain ipcidr
|
behavior:classical # domain ipcidr
|
||||||
@@ -881,4 +859,35 @@ listeners:
|
|||||||
# include_package:# 限制被路由的 Android 应用包名
|
# include_package:# 限制被路由的 Android 应用包名
|
||||||
# - com.android.chrome
|
# - com.android.chrome
|
||||||
# exclude_package:# 排除被路由的 Android 应用包名
|
# 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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user