mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 14:47:48 +08:00
rules: let's support custom surge/surfboard config
clash rules up-to-date rename default.surge2.conf to default.surfboard.conf surfboard rules up-to-date Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!MANAGED-CONFIG {subs_link} interval=43200 strict=true
|
||||
#!MANAGED-CONFIG $subs_link interval=43200 strict=true
|
||||
|
||||
[General]
|
||||
loglevel = notify
|
||||
@ -35,13 +35,12 @@ hide-udp = false
|
||||
# -----------------------------
|
||||
|
||||
[Proxy]
|
||||
{proxies}
|
||||
$proxies
|
||||
|
||||
[Proxy Group]
|
||||
Proxy = select, auto, fallback, {proxy_group}
|
||||
auto = url-test, {proxy_group}, url=http://www.gstatic.com/generate_204, interval=43200
|
||||
fallback = fallback, {proxy_group}, url=http://www.gstatic.com/generate_204, interval=43200
|
||||
|
||||
Proxy = select, auto, fallback, $proxy_group
|
||||
auto = url-test, $proxy_group, url=http://www.gstatic.com/generate_204, interval=43200
|
||||
fallback = fallback, $proxy_group, url=http://www.gstatic.com/generate_204, interval=43200
|
||||
|
||||
[Rule]
|
||||
# 自定义规则
|
||||
@ -62,4 +61,4 @@ GEOIP,CN,DIRECT
|
||||
FINAL,Proxy,dns-failed
|
||||
|
||||
[URL Rewrite]
|
||||
^https?://(www.)?(g|google).cn https://www.google.com 302
|
||||
^https?://(www.)?(g|google).cn https://www.google.com 302
|
||||
|
Reference in New Issue
Block a user