2023 Nontj
2023 Nontj
2023 Nontj
rule-providers:
RP-Direct:
type: file
behavior: classical
path: "./rule_provider/direct.yaml"
RP-Gaming:
type: file
behavior: classical
path: "./rule_provider/gaming.yaml"
RP-Reject:
type: file
behavior: classical
path: "./rule_provider/reject.yaml"
Remote:
type: file
behavior: classical
path: "./rule_provider/Zerotier.yaml"
# ================= REYRE-STB ==================
proxy-providers:
PP-ssl:
type: file
path: "./proxy_provider/ssl.yaml"
health-check:
enable: true
url: http://cp.cloudflare.com/generate_204
interval: '30'
PP-ws443:
type: file
path: "./proxy_provider/ws443.yaml"
health-check:
enable: true
url: http://cp.cloudflare.com/generate_204
interval: '30'
PP-ws80:
type: file
path: "./proxy_provider/ws80.yaml"
health-check:
enable: true
url: http://cp.cloudflare.com/generate_204
interval: '30'
PP-zt:
type: file
path: "./proxy_provider/fast.yaml"
health-check:
enable: true
url: http://cp.cloudflare.com/generate_204
interval: '30'
# ================= REYRE-STB ==================
proxy-groups:
- name: PG-zt
type: select
disable-udp: false
use:
- PP-zt
url: http://cp.cloudflare.com/generate_204
interval: 90
tolerance: 50
- name: PG-ssl
type: url-test
disable-udp: false
use:
- PP-ssl
url: http://cp.cloudflare.com/generate_204
interval: 20
tolerance: 50
- name: PG-Universal
type: load-balance
strategy: round-robin
disable-udp: false
proxies:
- PG-ws 443
- PG-ws 80 urltes
- PG-ws 443 sel
- PG-ws 80 sel
- PG-ssl
url: http://cp.cloudflare.com/generate_204
interval: '8'
- name: PG-Fallback
type: fallback
disable-udp: false
proxies:
- PG-ws 443 sel
- PG-ws 443
- PG-ssl sel
- PG-ws 80 sel
- PG-ssl
- PG-ws 80 urltes
url: http://cp.cloudflare.com/generate_204
interval: '13'
- name: PG-speedtest
type: select
disable-udp: false
proxies:
- PG-ws 443 sel
- PG-ws 80 sel
- PG-ssl sel
- PG-zt
url: http://cp.cloudflare.com/generate_204
interval: '8'
dns:
nameserver:
- 192.168.8.1
- 192.168.0.1
- 192.168.9.1
- dhcp://"eth1"
- dhcp://"wwan0"
- https://dns.adguard.com/dns-query
- https://dns-google.com/dns-query
- tls://dns.adguard.com
- tls://dns-google.com/
enable: true
ipv6: false
enhanced-mode: redir-host
fake-ip-range: 198.18.0.1/16
listen: 127.0.0.1:7874
fake-ip-filter:
- "+.*"
default-nameserver:
- 192.168.9.1
- 192.168.0.1
- 192.168.8.1
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
mixed-port: 7893
mode: rule
log-level: info
allow-lan: true
external-controller: 0.0.0.0:9090
secret: reyre
bind-address: "*"
#external-ui: "/usr/share/openclash/dashboard"
external-ui: "/usr/share/openclash/ui/dashboard"
ipv6: false
tun:
enable: true
stack: system
dns-hijack:
- tcp://8.8.8.8:53
- tcp://208.67.222.222:53
- tcp://8.8.4.4:53
- 208.67.222.222
- 208.67.220.220
profile:
store-selected: true
store-fake-ip: true
rules:
- RULE-SET,RP-Direct,DIRECT
- RULE-SET,RP-Reject,REJECT
- RULE-SET,Remote,GLOBAL
- MATCH,GLOBAL