From 84a097aaffde465385e668fb4c141ad2981ae84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Wed, 12 Feb 2025 08:45:48 +0800 Subject: [PATCH] Update serv00.sh --- serv00.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/serv00.sh b/serv00.sh index 58569ee..0927702 100644 --- a/serv00.sh +++ b/serv00.sh @@ -312,7 +312,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN= nb=$(hostname | cut -d '.' -f 1 | tr -d 's') if [[ "$nb" =~ (14|15|16) ]]; then -ytb='"jnn-pa.googleapis.com","gemini.google.com",' +ytb='"jnn-pa.googleapis.com",' fi hy1p=$(sed -n '1p' hy2ip.txt) hy2p=$(sed -n '2p' hy2ip.txt) @@ -460,6 +460,15 @@ hy3p=$(sed -n '3p' hy2ip.txt) } ], "route": { + "rule_set": [ + { + "tag": "geosite-google-gemini", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-google-gemini.srs", + "download_detour": "direct" + } + ], "rules": [ { "domain": [ @@ -467,6 +476,10 @@ hy3p=$(sed -n '3p' hy2ip.txt) "oh.my.god" ], "outbound": "wg" + }, + { + "rule_set":"geosite-google-gemini", + "outbound": "wg" } ], "final": "direct"