-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathOHB.yaml
34 lines (34 loc) · 1.55 KB
/
OHB.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
mixed-port: 7890
allow-lan: true
bind-address: '*'
mode: rule
log-level: warning
external-controller: '127.0.0.1:9090'
dns:
enable: true
ipv6: false
default-nameserver: [1.1.1.1, 8.8.8.8]
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter: ['.*']
use-hosts: true
nameserver: [8.8.8.8, 123.23.23.23, 203.113.131.2, 10.51.40.254, 10.1.10.11, 223.5.5.5, 119.29.29.29]
fallback-filter: { ipcidr: [240.0.0.0/4] }
proxies:
- { name: '🇻🇳 OHB', type: vmess, server: ongbaoha.ddns.net, port: 80, uuid: 039fcc67-d081-40d2-c2c1-1367ff6ccde9, alterId: 0, cipher: auto, udp: 1, network: ws, ws-opts: { path: /vuong5g, headers: { Host: ohb.muscdn.com } } }
proxy-groups:
- { name: 'VLVPN-Chọn ở đây trước', type: select, proxies: [Non-TLS, TLS, 'Tự chọn server'] }
- { name: Non-TLS, type: select, proxies: ['🇻🇳 OHB'] }
- { name: TLS, type: select, proxies: ['🇻🇳 OHB'] }
- { name: 'Tự chọn server', type: url-test, proxies: ['🇻🇳 OHB'], url: 'http://www.gstatic.com/generate_204', interval: 86400 }
rule-providers:
adblock: { type: http, behavior: domain, url: 'https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt', path: ./ruleset/reject.yaml, interval: 86400 }
rules:
- 'DOMAIN-SUFFIX,local,DIRECT'
- 'IP-CIDR,127.0.0.0/8,DIRECT'
- 'IP-CIDR,172.16.0.0/12,DIRECT'
- 'IP-CIDR,192.168.0.0/16,DIRECT'
- 'IP-CIDR,10.0.0.0/8,DIRECT'
- 'IP-CIDR6,fe80::/10,DIRECT'
- 'RULE-SET,adblock,REJECT'
- 'MATCH,VLVPN-Chọn ở đây trước'