Liu Song’s Projects


~/Projects/confbook

git clone https://code.lsong.org/confbook

Commit

Commit
1d1b6b63668e607dd7b582975f5e365b39983a32
Author
Lsong <[email protected]>
Date
2023-05-23 17:32:03 +0800 +0800
Diffstat
 clash/config.yaml | 173 ++++++++++++++++++++++++------------------------

update


diff --git a/clash/config.yaml b/clash/config.yaml
index 1f356ad65685e79258489cb949b20c921b87fed6..b5a9949b259cd3e575fcd74b45f4ec82f8f81d26 100644
--- a/clash/config.yaml
+++ b/clash/config.yaml
@@ -101,91 +101,6 @@
 # Rule / Global/ Direct (default is Rule)
 mode: Rule
 
-proxies:
-  # socks5
-  # - name: "socks"
-  #   type: socks5
-  #   server: 192.168.6.1
-  #   port: 1080
-  #   username: song940
-  #   password: [email protected]
-  #   tls: true
-  #   skip-cert-verify: true
-  #   udp: true
-
-proxy-providers:
-  shadowsocks:
-    type: file
-    path: proxies/shadowsocks.yaml
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-  ssus:
-    type: file
-    path: proxies/shadowsocks-us.yaml
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-  v2net:
-    type: file
-    path: proxies/v2net.yaml
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-  trojan:
-    type: file
-    path: proxies/trojan.yaml
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-  v2rayse:
-    type: http
-    path: proxies/v2rayse.yaml
-    url: "https://cdn.jsdelivr.net/gh/song940/freefq@release/proxies/v2rayse.yaml"
-    interval: 3600
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-  freefq:
-    type: http
-    path: proxies/freefq.yaml
-    url: "https://cdn.jsdelivr.net/gh/song940/freefq@release/proxies/freefq.yaml"
-    interval: 3600
-    health-check:
-      enable: true
-      interval: 600
-      url: http://www.gstatic.com/generate_204
-
-proxy-groups:
-  - name: "rocket-auto"
-    type: url-test
-    use:
-      - trojan
-      - freefq
-      - shadowsocks
-    url: "http://www.gstatic.com/generate_204"
-    interval: 120
-
-  - name: "US"
-    type: select
-    use:
-      - ssus
-
-  - name: PROXY
-    type: select
-    proxies:
-      - rocket-auto
-
 rule-providers:
   reject:
     type: http
@@ -318,6 +233,94 @@     behavior: ipcidr
     url: https://cdn.jsdelivr.net/gh/song940/freefq@clash/rules/lancidr.yaml
     path: rules/lancidr.yaml
     interval: 86400
+
+proxy-providers:
+  shadowsocks:
+    type: file
+    path: proxies/shadowsocks.yaml
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+  shadowsocks-us:
+    type: file
+    path: proxies/shadowsocks-us.yaml
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+  v2net:
+    type: file
+    path: proxies/v2net.yaml
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+  trojan:
+    type: file
+    path: proxies/trojan.yaml
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+  v2rayse:
+    type: http
+    path: proxies/v2rayse.yaml
+    url: "https://cdn.jsdelivr.net/gh/song940/freefq@release/proxies/v2rayse.yaml"
+    interval: 3600
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+  freefq:
+    type: http
+    path: proxies/freefq.yaml
+    url: "https://cdn.jsdelivr.net/gh/song940/freefq@release/proxies/freefq.yaml"
+    interval: 3600
+    health-check:
+      enable: true
+      interval: 600
+      url: http://www.gstatic.com/generate_204
+
+
+proxy-groups:
+  - name: "rocket-auto"
+    type: url-test
+    use:
+      - trojan
+      - freefq
+      - shadowsocks
+      - shadowsocks-us
+    url: "http://www.gstatic.com/generate_204"
+    interval: 120
+
+  - name: "US"
+    type: url-test
+    use:
+      - shadowsocks-us
+
+  - name: PROXY
+    type: select
+    proxies:
+      - rocket-auto
+      - v2rayse
+
+proxies:
+  # socks5
+  # - name: "socks"
+  #   type: socks5
+  #   server: 192.168.6.1
+  #   port: 1080
+  #   username: song940
+  #   password: [email protected]
+  #   tls: true
+  #   skip-cert-verify: true
+  #   udp: true
 
 rules:
   # DNS Query