diff --git a/config/dts-pontifex.yaml b/config/dts-pontifex.yaml index 92c206e..fc25fcc 100644 --- a/config/dts-pontifex.yaml +++ b/config/dts-pontifex.yaml @@ -3,20 +3,18 @@ port: 7890 socks-port: 7891 redir-port: 7892 tproxy-port: 7893 -mixed-port: 7893 +mixed-port: 7894 allow-lan: true bind-address: "*" # authentication of local SOCKS5/HTTP(S) server # authentication: # - "user1:pass1" -# - "user2:pass2" # —————————————————————————————— external controller ————————————————————————————— -external-controller: 0.0.0.0:9090 +external-controller: 127.0.0.1:9090 secret: '314159271828' external-ui: "/usr/share/openclash/ui" -authentication: -- dts-pontifex-clash:314159271828 + # ———————————————————————————————————— general ——————————————————————————————————— mode: rule @@ -38,15 +36,43 @@ profile: sniffer: enable: true parse-pure-ip: true + override-destination: true + sniff: + QUIC: + ports: + - 443 + TLS: + ports: + - 443 + - 8443 + HTTP: + ports: + - 80 + - 8080-8880 + override-destination: true + force-domain: + - "+.netflix.com" + - "+.nflxvideo.net" + - "+.amazonaws.com" + - "+.media.dssott.com" + skip-domain: + - "+.apple.com" + - Mijia Cloud + - dlg.io.mi.com + - "+.oray.com" + - "+.sunlogin.net" + - "+.push.apple.com" # —————————————————————————————————————— dns ————————————————————————————————————— dns: enable: true + ipv6: false listen: 0.0.0.0:53 default-nameserver: - 114.114.114.114 - 8.8.8.8 enhanced-mode: fake-ip + use-hosts: false fake-ip-range: 198.18.0.1/16 fake-ip-filter-mode: blacklist fake-ip-filter: @@ -87,6 +113,7 @@ dns: # 'www.baidu.com': '114.114.114.114' # '+.internal.crop.com': '10.0.0.1' +# —————————————————————————————————————— tun ————————————————————————————————————— # ————————————————————————————————————— macro ———————————————————————————————————— health-check-for-providers: &health_check_for_providers enable: true @@ -106,25 +133,25 @@ dns: behavior: classical interval: 86400 - private-vpn-list: &private_vpn_list - - vless-estonia - - vless-serbia - p-vpn-list_balancer: &p_vpn_list_balancer type: load-balance strategy: sticky-sessions - proxies: - - vless-estonia - - vless-serbia - + use: + - own + p-vpn-list_selector: &p_vpn_list_selector type: select - proxies: - - vless-estonia - - vless-serbia use: - own + np-vpn-list_url_test: &np_vpn_list_url_test + type: url-test + tolerance: 50 + use: + - xfizz + - arza-1 + - Un1c4d3 + np-vpn-list_balancer: &np_vpn_list_balancer type: load-balance strategy: sticky-sessions @@ -132,7 +159,7 @@ dns: - xfizz - arza-1 - Un1c4d3 - + np-vpn-list_selector: &np_vpn_list_selector type: select use: @@ -143,8 +170,6 @@ dns: default-private-proxies-lb-selector: &default_private_proxies_lb_selector type: select proxies: - - vless-estonia - - vless-serbia - ⚖️ Personal VPN # ————————————————————————————————— proxies list ————————————————————————————————— @@ -160,42 +185,14 @@ proxies: udp: true ip-version: ipv4 interface-name: eth2 - - name: "WAN C [Mobile]" - type: direct - udp: true - ip-version: ipv4 - interface-name: eth2 + #- name: "WAN C [Mobile]" + # type: direct + # udp: true + # ip-version: ipv4 + # interface-name: eth2 - # ——————————————————— private vpn services ——————————————————— - - name: vless-serbia - type: vless - server: 38.180.101.70 - port: 443 - uuid: e31308a8-f7d3-4007-b077-6fd21e9c7310 - udp: true - tls: true - client-fingerprint: chrome - servername: kingnews.rs - network: tcp - flow: xtls-rprx-vision - reality-opts: - public-key: xBnrKijFwmka88VI1xWYzUS9jT1SyA5UdJQ8vg5BZzw - short-id: a9a07155 +# ——————————————————— private vpn services ——————————————————— - - name: vless-estonia - type: vless - server: 37.252.4.126 - port: 443 - uuid: '028c65fd-9192-4adc-af68-e01fe5881cdd' - udp: true - tls: true - client-fingerprint: chrome - servername: yahoo.com - network: tcp - flow: xtls-rprx-vision - reality-opts: - public-key: HwuNN-BUkUm1acVf0POkJHyfSj9puyATJDIxcR_OfE4 - short-id: '58024220' # ———————————————————————————————— proxy providers ——————————————————————————————— @@ -208,9 +205,9 @@ proxy-providers: interval: 3600 proxy: DIRECT path: "./proxy_provider/own-1.txt" - exclude-filter: "" + exclude-filter: "(?i)xhttp" override: - additional-prefix: "[O] " + additional-prefix: "🔆 " additional-suffix: "" health-check: <<: *health_check_for_providers @@ -219,42 +216,42 @@ proxy-providers: #https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213 xfizz: type: http - url: "https://gitea.shamanlanding.org/DaTekShaman/arcadia/raw/branch/main/CLASH%20RULES/proxy-providers/gofinn-test-account-full" + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/fizz-vpn.txt" interval: 3600 - proxy: DIRECT + proxy: 🔢 Personal VPN path: "./proxy_provider/fizz-vpn.txt" - exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[F] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓯" health-check: <<: *health_check_for_providers #https://arza.top/sub/dGZjNHVlLDE3MzIzMDQ2MTYowA-efEYOh arza-1: type: http - url: "https://gitea.shamanlanding.org/DaTekShaman/arcadia/raw/branch/main/CLASH%20RULES/proxy-providers/arza" + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/arza.txt" interval: 3600 - proxy: DIRECT + proxy: 🔢 Personal VPN path: "./proxy_provider/arza.txt" - exclude-filter: "(?i)Наш TG|Истекает|UNAVAILABLE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[A] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓪" health-check: <<: *health_check_for_providers #https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4 Un1c4d3: type: http - url: "https://gitea.shamanlanding.org/DaTekShaman/arcadia/raw/branch/main/CLASH%20RULES/proxy-providers/Un1c4d3" + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/Un1c4d3.txt" interval: 3600 proxy: DIRECT path: "./proxy_provider/Un1c4d3.txt" - exclude-filter: "(?i)Наш TG|Истекает|EXPIRE|TELEGRAM|UNAVAILABLE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[U] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓾" health-check: <<: *health_check_for_providers # ————————————————————————————————— proxy groups ————————————————————————————————— @@ -277,14 +274,14 @@ proxy-groups: - WAN B [РосТелеКом] hidden: true - - name: ⚖️ ABC - type: load-balance - disable-udp: false - proxies: - - WAN A [Мегафон] - - WAN B [РосТелеКом] - - WAN C [Mobile] - hidden: true + # - name: ⚖️ ABC + # type: load-balance + # disable-udp: false + # proxies: + # - WAN A [Мегафон] + # - WAN B [РосТелеКом] + # - WAN C [Mobile] + # hidden: true # ————————————————————— direct selectors ————————————————————— - name: 🖥️ LAN Clients @@ -292,10 +289,10 @@ proxy-groups: disable-udp: false proxies: - ⚖️ AB - - ⚖️ ABC + # - ⚖️ ABC - WAN A [Мегафон] - WAN B [РосТелеКом] - - WAN C [Mobile] + # - WAN C [Mobile] - name: 🛋️ IOT Clients type: select @@ -303,10 +300,10 @@ proxy-groups: proxies: - 🖥️ LAN Clients - ⚖️ AB - - ⚖️ ABC + # - ⚖️ ABC - WAN A [Мегафон] - WAN B [РосТелеКом] - - WAN C [Mobile] + # - WAN C [Mobile] - name: 👾 Unprivileged Webway type: select @@ -314,10 +311,10 @@ proxy-groups: proxies: - 🖥️ LAN Clients - ⚖️ AB - - ⚖️ ABC + # - ⚖️ ABC - WAN A [Мегафон] - WAN B [РосТелеКом] - - WAN C [Mobile] + # - WAN C [Mobile] - name: 🌟 Privileged Webway type: select @@ -325,201 +322,211 @@ proxy-groups: proxies: - 🖥️ LAN Clients - ⚖️ AB - - ⚖️ ABC + # - ⚖️ ABC - WAN A [Мегафон] - WAN B [РосТелеКом] - - WAN C [Mobile] + # - WAN C [Mobile] # —————————————— load balancers for personal vpn ————————————— - name: ⚖️ Personal VPN - <<: *p_vpn_list_balancer - <<: *health_check_for_load_balancers - - # ———————————— load balancers for non-personal vpn ——————————— - - name: ⚖️ Russian - <<: *np_vpn_list_balancer disable-udp: false - filter: "(?i)Russia" - <<: *health_check_for_load_balancers - - - name: ⚖️ Europe - <<: *np_vpn_list_balancer + <<: [*p_vpn_list_balancer, *health_check_for_load_balancers] + + # —————————————— url tested for non-personal vpn ————————————— + - name: ⌚ Europe 🌍 disable-udp: false filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland" - <<: *health_check_for_load_balancers + <<: [*np_vpn_list_url_test, *health_check_for_load_balancers] - - name: ⚖️ USA - <<: *np_vpn_list_balancer - disable-udp: false - filter: "(?i)USA|Canada" - <<: *health_check_for_load_balancers - - - name: ⚖️ Asia - <<: *np_vpn_list_balancer + # ———————————— load balancers for non-personal vpn ——————————— + - name: ⚖️ Asia 🌍 disable-udp: false filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore" - <<: *health_check_for_load_balancers + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true + + - name: ⚖️ Europe 🌍 + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true + + - name: ⚖️ USA 🌍 + disable-udp: false + filter: "(?i)USA|Canada" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true - name: ⚖️ High Bandwidth - <<: *np_vpn_list_balancer disable-udp: false filter: "(?i)10 Gbit" - <<: *health_check_for_load_balancers + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true - - name: ⚖️ Fast Servers - <<: *np_vpn_list_balancer - disable-udp: false - filter: "(?i)Low Ping" - <<: *health_check_for_load_balancers - - # ————————————— global selectors for personal vpn ———————————— - - name: 🔢 Personal VPN - <<: *p_vpn_list_selector - disable-udp: false - <<: *health_check_for_selectors - - # ——————————— global selectors for non-personal vpn —————————— - - name: 🔢 Russian - <<: *np_vpn_list_selector + - name: ⚖️ Russian 🌍 disable-udp: false filter: "(?i)Russia" - <<: *health_check_for_selectors - - - name: 🔢 Europe - <<: *np_vpn_list_selector - disable-udp: false - filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova" - <<: *health_check_for_selectors + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true - - name: 🔢 USA - <<: *np_vpn_list_selector + - name: ⚖️ Fast Servers disable-udp: false - filter: "(?i)USA|Canada" - <<: *health_check_for_selectors + filter: "(?i)Low Ping" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + hidden: true - - name: 🔢 Asia - <<: *np_vpn_list_selector + # ————————————— global selectors for personal vpn ———————————— + - name: 🔢 Personal VPN + disable-udp: false + <<: [*p_vpn_list_selector, *health_check_for_selectors] + + # ——————————— global selectors for non-personal vpn —————————— + - name: 🔢 Asia 🌍 disable-udp: false filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore" - <<: *health_check_for_selectors + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Europe 🌍 + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova" + <<: [*np_vpn_list_selector, *health_check_for_selectors] - - name: 🔢 Kazakhstan - <<: *np_vpn_list_selector + - name: 🔢 Kazakhstan 🌍 disable-udp: false filter: "(?i)Kazakhstan|KZ" - <<: *health_check_for_selectors + <<: [*np_vpn_list_selector, *health_check_for_selectors] + - name: 🔢 Russian 🌍 + disable-udp: false + filter: "(?i)Russia" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 USA 🌍 + disable-udp: false + filter: "(?i)USA|Canada" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + - name: 🔢 All non-personal - <<: *np_vpn_list_selector disable-udp: false filter: "" - <<: *health_check_for_selectors - - - name: 🔢 Gaming - <<: *np_vpn_list_selector - disable-udp: false - filter: "(?i)game" - <<: *health_check_for_selectors + <<: [*np_vpn_list_selector, *health_check_for_selectors] - - name: 🔢 Torrent Compliant - <<: *np_vpn_list_selector - disable-udp: false - filter: "(?i)torrent" - <<: *health_check_for_selectors - - - name: 🔢 TOR Compliant - <<: *np_vpn_list_selector - disable-udp: false - filter: "(?i)TOR✅" - <<: *health_check_for_selectors - - name: 🔢 Fast Servers - <<: *np_vpn_list_selector disable-udp: false filter: "(?i)10 Gbit|10Gbit" - <<: *health_check_for_selectors + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Gaming + disable-udp: false + filter: "(?i)game" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Torrent Compliant + disable-udp: false + filter: "(?i)torrent" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 TOR Compliant + disable-udp: false + filter: "(?i)TOR✅" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + - # —————————— selectors for unprivileged webway rules ————————— - - # ——————— selectors for local & privileged webway rules —————— - - name: YouTube [LAN] + # ——————— selectors for local rules —————— + - name: ✳️ YouTube type: select proxies: - - 🔢 Russian + - 🔢 Russian 🌍 - 🔢 Personal VPN - - 🔢 Europe - - ⚖️ Europe - - ⚖️ Russian + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 + - ⚖️ Europe 🌍 + - ⚖️ Russian 🌍 - ⚖️ Personal VPN <<: *health_check_for_selectors - - name: Adaptaion + - name: ✳️ Adaptaion type: select proxies: - 🔢 Fast Servers - 🔢 Personal VPN - - 🔢 Europe + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 - ⚖️ Fast Servers - ⚖️ Personal VPN - - ⚖️ Europe + - ⚖️ Europe 🌍 <<: *health_check_for_selectors - - name: Antifilter + - name: ✳️ Antifilter type: select proxies: - 🔢 Fast Servers - 🔢 Personal VPN - - 🔢 Europe + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 - ⚖️ Fast Servers - ⚖️ Personal VPN - - ⚖️ Europe + - ⚖️ Europe 🌍 <<: *health_check_for_selectors - - name: Discord + - name: ✳️ Discord type: select disable-udp: false proxies: - 🔢 Fast Servers - 🔢 Personal VPN - - 🔢 Europe + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 - ⚖️ Fast Servers - ⚖️ Personal VPN - - ⚖️ Europe + - ⚖️ Europe 🌍 <<: *health_check_for_selectors - - name: USA Services + - name: ✳️ USA Services type: select disable-udp: false proxies: - - 🔢 USA + - 🔢 USA 🌍 - 🔢 Personal VPN - - ⚖️ USA + - ⚖️ USA 🌍 - ⚖️ Personal VPN <<: *health_check_for_selectors - - name: Notion + - name: ✳️ Notion type: select proxies: - 🔢 Personal VPN - - 🔢 Europe + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 - ⚖️ Personal VPN - - vless-estonia - - vless-serbia + - ⚖️ Europe 🌍 <<: *health_check_for_selectors - - name: Testzone A + - name: ✳️ AI Stuff (Western) + type: select + proxies: + - 🔢 Personal VPN + - 🔢 Europe 🌍 + - ⌚ Europe 🌍 + - ⚖️ Personal VPN + - ⚖️ Europe 🌍 + <<: *health_check_for_selectors + + - name: ✳️ Testzone A type: select proxies: - 🔢 All non-personal - - 🔢 Russian - - 🔢 Europe - - 🔢 USA - - 🔢 Asia - - 🔢 Kazakhstan + - 🔢 Russian 🌍 + - 🔢 Europe 🌍 + - 🔢 USA 🌍 + - 🔢 Asia 🌍 + - 🔢 Kazakhstan 🌍 - 🔢 Personal VPN - - ⚖️ Europe - - ⚖️ USA - - ⚖️ Asia + - ⌚ Europe 🌍 + - ⚖️ Russian 🌍 + - ⚖️ Europe 🌍 + - ⚖️ USA 🌍 + - ⚖️ Asia 🌍 - ⚖️ Fast Servers - ⚖️ Personal VPN <<: *health_check_for_selectors @@ -529,88 +536,88 @@ rule-providers: # ———————————————————————— gitea lists ——————————————————————— AI Stuff (Western): - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/2005-lpu-ai-stuff-western.yaml # AI Stuff - path: "./rule_provider/2005-lpu-ai-stuff-western.yaml" + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/ai-stuff-western.yaml # AI Stuff + path: "./rule_provider/ai-stuff-western.yaml" <<: *default_rule_provider_config Discord: - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/2005-lpu-ai-stuff-western.yaml # AI Stuff + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/discord.yaml # AI Stuff path: "./rule_provider/discord.yaml" <<: *default_rule_provider_config Notion: - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/2000-lpu-notion.yaml # Notion - path: "./rule_provider/2000-lpu-notion.yaml" + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/notion.yaml # Notion + path: "./rule_provider/notion.yaml" <<: *default_rule_provider_config Youtube: - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/1003-lpx-youtube.yaml # Youtube - path: "./rule_provider/1003-lpx-youtube.yaml" + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/youtube.yaml # Youtube + path: "./rule_provider/youtube.yaml" <<: *default_rule_provider_config Testzone A: - url: https://gitea.shamanlanding.org/DaTekShaman/arcadia/raw/branch/main/CLASH%20RULES/rule-providers/ip-test.yaml - path: "./rule_provider/0000-lpx-testzone-a.yaml" + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/testzone-a.yaml + path: "./rule_provider/testzone-a.yaml" <<: *default_rule_provider_config USA Services: - url: https://gitea.shamanlanding.org/DaTekShaman/arcadia/raw/branch/main/CLASH%20RULES/rule-providers/usa-services.yaml + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/usa-services.yaml path: "./rule_provider/usa-services.yaml" <<: *default_rule_provider_config # —————————————————————— adaptaion lists ————————————————————— General Direct Domain List: url: http://purpose.shamanlanding.org:9999/direct-domain.yaml - path: "./ruleset/0001-lpu-direct-domain.yaml" + path: "./rule_provider/direct-domain.yaml" <<: *default_rule_provider_config General Direct IP List: url: http://purpose.shamanlanding.org:9999/direct-ip.yaml - path: "./ruleset/0001-lpu-direct-ip.yaml" + path: "./rule_provider/direct-ip.yaml" <<: *default_rule_provider_config General Proxy Domain List: url: http://purpose.shamanlanding.org:9999/proxy-domain.yaml - path: "./ruleset/0002-lpx-adaptation-domain-proxy.yaml" + path: "./rule_provider/adaptation-domain-proxy.yaml" <<: *default_rule_provider_config General Proxy IP List: url: http://purpose.shamanlanding.org:9999/proxy-ip.yaml - path: "./ruleset/0002-lpx-adaptation-ip-proxy.yaml" + path: "./rule_provider/adaptation-ip-proxy.yaml" <<: *default_rule_provider_config # ————————————————— antifilter community list ———————————————— Antifilter IP List: url: http://purpose.shamanlanding.org:9999/antifilter-ip.yaml - path: "./ruleset/9998-lpx-antifilter-ip-proxy.yaml" + path: "./rule_provider/antifilter-ip-proxy.yaml" <<: *default_rule_provider_config Antifilter Community IP List: url: http://purpose.shamanlanding.org:9999/antifilter-community-ip.yaml - path: "./ruleset/9999-lpx-antifilter-community-ip-proxy.yaml" + path: "./rule_provider/antifilter-community-ip-proxy.yaml" <<: *default_rule_provider_config Antifilter Community Domain List: url: http://purpose.shamanlanding.org:9999/antifilter-community-domain.yaml - path: "./ruleset/9998-lpx-antifilter-domain-proxy.yaml" + path: "./rule_provider/antifilter-domain-proxy.yaml" <<: *default_rule_provider_config # ————————————————————————————————————— rules ———————————————————————————————————— rules: # —————————————————————— by application —————————————————————— -- RULE-SET,Youtube,YouTube [LAN] -- RULE-SET,Notion,Notion -- RULE-SET,Testzone A,Testzone A -- RULE-SET,AI Stuff (Western),Testzone A -- RULE-SET,Discord,Discord -- RULE-SET,USA Services,USA Services +- RULE-SET,Youtube,✳️ YouTube +- RULE-SET,Notion,✳️ Notion +- RULE-SET,Testzone A,✳️ Testzone A +- RULE-SET,AI Stuff (Western),✳️ Testzone A +- RULE-SET,Discord,✳️ Discord +- RULE-SET,USA Services,✳️ USA Services # —————————————————————— adaptaion lists ————————————————————— -- RULE-SET,General Direct Domain List,🖥️ LAN Clients -- RULE-SET,General Direct IP List,🖥️ LAN Clients -- RULE-SET,General Proxy Domain List,Adaptaion -- RULE-SET,General Proxy IP List,Adaptaion -- RULE-SET,Antifilter IP List,Antifilter -- RULE-SET,Antifilter Community IP List,Antifilter -- RULE-SET,Antifilter Community Domain List,Antifilter +- RULE-SET,General Direct Domain List,DIRECT +- RULE-SET,General Direct IP List,DIRECT +- RULE-SET,General Proxy Domain List,✳️ Adaptaion +- RULE-SET,General Proxy IP List,✳️ Adaptaion +- RULE-SET,Antifilter IP List,✳️ Antifilter +- RULE-SET,Antifilter Community IP List,✳️ Antifilter +- RULE-SET,Antifilter Community Domain List,✳️ Antifilter - MATCH,🖥️ LAN Clients \ No newline at end of file diff --git a/config/solar-p.yaml b/config/solar-clash-mix.yaml similarity index 83% rename from config/solar-p.yaml rename to config/solar-clash-mix.yaml index 1323eff..6a5f376 100644 --- a/config/solar-p.yaml +++ b/config/solar-clash-mix.yaml @@ -3,26 +3,27 @@ port: 7890 socks-port: 7891 redir-port: 7892 tproxy-port: 7893 -mixed-port: 7893 +mixed-port: 7894 allow-lan: true bind-address: "*" -authentication: - - "xuser:xuser" +# authentication of local SOCKS5/HTTP(S) server +# authentication: +# - "user1:pass1" # —————————————————————————————— external controller ————————————————————————————— external-controller: 0.0.0.0:9090 secret: '314159271828' external-ui: "/etc/clash/ui/" -# authentication: -# - dts-solar-clash-p:314159271828 # ———————————————————————————————————— general ——————————————————————————————————— mode: rule -ipv6: false +ipv6: true unified-delay: true log-level: info disable-keep-alive: true -# interface-name: en0 # Outbound interface name +interface-name: eth0 +keep-alive-interval: 15 +keep-alive-idle: 600 # ————————————————————————————————————— hosts ———————————————————————————————————— hosts: @@ -36,17 +37,44 @@ profile: sniffer: enable: true parse-pure-ip: true + override-destination: true + sniff: + QUIC: + ports: + - 443 + TLS: + ports: + - 443 + - 8443 + HTTP: + ports: + - 80 + - 8080-8880 + override-destination: true + force-domain: + - "+.netflix.com" + - "+.nflxvideo.net" + - "+.amazonaws.com" + - "+.media.dssott.com" + skip-domain: + - "+.apple.com" + - Mijia Cloud + - dlg.io.mi.com + - "+.oray.com" + - "+.sunlogin.net" + - "+.push.apple.com" # —————————————————————————————————————— dns ————————————————————————————————————— dns: enable: true - ipv6: false + prefer-h3: true + ipv6: true listen: 0.0.0.0:53 default-nameserver: - 114.114.114.114 - 8.8.8.8 enhanced-mode: fake-ip - use-hosts: true + use-hosts: false fake-ip-range: 198.18.0.1/16 fake-ip-filter-mode: blacklist fake-ip-filter: @@ -91,7 +119,7 @@ dns: # —————————————————————————————————————— tun ————————————————————————————————————— tun: enable: true - stack: system + stack: mixed device: utun auto-route: true auto-detect-interface: true @@ -138,6 +166,14 @@ tun: use: - own + np-vpn-list_url_test: &np_vpn_list_url_test + type: url-test + tolerance: 50 + use: + - xfizz + - arza-1 + - Un1c4d3 + np-vpn-list_balancer: &np_vpn_list_balancer type: load-balance strategy: sticky-sessions @@ -145,7 +181,7 @@ tun: - xfizz - arza-1 - Un1c4d3 - + np-vpn-list_selector: &np_vpn_list_selector type: select use: @@ -162,36 +198,8 @@ tun: # ————————————————————————————————— proxies list ————————————————————————————————— proxies: - # ——————————————————— private vpn services ——————————————————— - - name: vless-serbia - type: vless - server: 38.180.101.70 - port: 443 - uuid: e31308a8-f7d3-4007-b077-6fd21e9c7310 - udp: true - tls: true - client-fingerprint: chrome - servername: kingnews.rs - network: tcp - flow: xtls-rprx-vision - reality-opts: - public-key: xBnrKijFwmka88VI1xWYzUS9jT1SyA5UdJQ8vg5BZzw - short-id: a9a07155 +# ——————————————————— private vpn services ——————————————————— - - name: vless-estonia - type: vless - server: 37.252.4.126 - port: 443 - uuid: '028c65fd-9192-4adc-af68-e01fe5881cdd' - udp: true - tls: true - client-fingerprint: chrome - servername: yahoo.com - network: tcp - flow: xtls-rprx-vision - reality-opts: - public-key: HwuNN-BUkUm1acVf0POkJHyfSj9puyATJDIxcR_OfE4 - short-id: '58024220' # ———————————————————————————————— proxy providers ——————————————————————————————— @@ -204,9 +212,9 @@ proxy-providers: interval: 3600 proxy: DIRECT path: "./proxy_provider/own-1.txt" - exclude-filter: "" + exclude-filter: "(?i)xhttp" override: - additional-prefix: "[O] " + additional-prefix: "🔆 " additional-suffix: "" health-check: <<: *health_check_for_providers @@ -217,12 +225,12 @@ proxy-providers: type: http url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/fizz-vpn.txt" interval: 3600 - proxy: DIRECT + proxy: 🔢 Personal VPN path: "./proxy_provider/fizz-vpn.txt" - exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[F] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓯" health-check: <<: *health_check_for_providers @@ -231,12 +239,12 @@ proxy-providers: type: http url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/arza.txt" interval: 3600 - proxy: DIRECT + proxy: 🔢 Personal VPN path: "./proxy_provider/arza.txt" - exclude-filter: "(?i)Наш TG|Истекает|UNAVAILABLE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[A] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓪" health-check: <<: *health_check_for_providers @@ -247,10 +255,10 @@ proxy-providers: interval: 3600 proxy: DIRECT path: "./proxy_provider/Un1c4d3.txt" - exclude-filter: "(?i)Наш TG|Истекает|EXPIRE|TELEGRAM|UNAVAILABLE" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" override: - additional-prefix: "[U] " - additional-suffix: "" + additional-prefix: "" + additional-suffix: "•𝓾" health-check: <<: *health_check_for_providers # ————————————————————————————————— proxy groups ————————————————————————————————— @@ -266,8 +274,15 @@ proxy-groups: # —————————————— load balancers for personal vpn ————————————— - name: ⚖️ Personal VPN + disable-udp: false <<: [*p_vpn_list_balancer, *health_check_for_load_balancers] + # —————————————— url tested for non-personal vpn ————————————— + - name: ⌚ Europe + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland" + <<: [*np_vpn_list_url_test, *health_check_for_load_balancers] + # ———————————— load balancers for non-personal vpn ——————————— - name: ⚖️ Russian disable-udp: false @@ -356,52 +371,56 @@ proxy-groups: <<: [*np_vpn_list_selector, *health_check_for_selectors] # ——————— selectors for local rules —————— - - name: YouTube + - name: ✳️ YouTube type: select proxies: - 🔢 Russian - 🔢 Personal VPN - 🔢 Europe + - ⌚ Europe - ⚖️ Europe - ⚖️ Russian - ⚖️ Personal VPN <<: *health_check_for_selectors - - name: Adaptaion + - name: ✳️ Adaptaion type: select proxies: - 🔢 Fast Servers - 🔢 Personal VPN - 🔢 Europe + - ⌚ Europe - ⚖️ Fast Servers - ⚖️ Personal VPN - ⚖️ Europe <<: *health_check_for_selectors - - name: Antifilter + - name: ✳️ Antifilter type: select proxies: - 🔢 Fast Servers - 🔢 Personal VPN - 🔢 Europe + - ⌚ Europe - ⚖️ Fast Servers - ⚖️ Personal VPN - ⚖️ Europe <<: *health_check_for_selectors - - name: Discord + - name: ✳️ Discord type: select disable-udp: false proxies: - 🔢 Fast Servers - 🔢 Personal VPN - 🔢 Europe + - ⌚ Europe - ⚖️ Fast Servers - ⚖️ Personal VPN - ⚖️ Europe <<: *health_check_for_selectors - - name: USA Services + - name: ✳️ USA Services type: select disable-udp: false proxies: @@ -411,16 +430,27 @@ proxy-groups: - ⚖️ Personal VPN <<: *health_check_for_selectors - - name: Notion + - name: ✳️ Notion type: select proxies: - 🔢 Personal VPN - 🔢 Europe + - ⌚ Europe - ⚖️ Personal VPN - ⚖️ Europe <<: *health_check_for_selectors - - name: Testzone A + - name: ✳️ AI Stuff (Western) + type: select + proxies: + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ Testzone A type: select proxies: - 🔢 All non-personal @@ -430,6 +460,7 @@ proxy-groups: - 🔢 Asia - 🔢 Kazakhstan - 🔢 Personal VPN + - ⌚ Europe - ⚖️ Russian - ⚖️ Europe - ⚖️ USA @@ -463,68 +494,68 @@ rule-providers: <<: *default_rule_provider_config Testzone A: - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-providers/ip-test.yaml + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/testzone-a.yaml path: "./rule_provider/testzone-a.yaml" <<: *default_rule_provider_config USA Services: - url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-providers/usa-services.yaml + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/usa-services.yaml path: "./rule_provider/usa-services.yaml" <<: *default_rule_provider_config # —————————————————————— adaptaion lists ————————————————————— General Direct Domain List: url: http://purpose.shamanlanding.org:9999/direct-domain.yaml - path: "./ruleset/direct-domain.yaml" + path: "./rule_provider/direct-domain.yaml" <<: *default_rule_provider_config General Direct IP List: url: http://purpose.shamanlanding.org:9999/direct-ip.yaml - path: "./ruleset/direct-ip.yaml" + path: "./rule_provider/direct-ip.yaml" <<: *default_rule_provider_config General Proxy Domain List: url: http://purpose.shamanlanding.org:9999/proxy-domain.yaml - path: "./ruleset/adaptation-domain-proxy.yaml" + path: "./rule_provider/adaptation-domain-proxy.yaml" <<: *default_rule_provider_config General Proxy IP List: url: http://purpose.shamanlanding.org:9999/proxy-ip.yaml - path: "./ruleset/adaptation-ip-proxy.yaml" + path: "./rule_provider/adaptation-ip-proxy.yaml" <<: *default_rule_provider_config # ————————————————— antifilter community list ———————————————— Antifilter IP List: url: http://purpose.shamanlanding.org:9999/antifilter-ip.yaml - path: "./ruleset/antifilter-ip-proxy.yaml" + path: "./rule_provider/antifilter-ip-proxy.yaml" <<: *default_rule_provider_config Antifilter Community IP List: url: http://purpose.shamanlanding.org:9999/antifilter-community-ip.yaml - path: "./ruleset/antifilter-community-ip-proxy.yaml" + path: "./rule_provider/antifilter-community-ip-proxy.yaml" <<: *default_rule_provider_config Antifilter Community Domain List: url: http://purpose.shamanlanding.org:9999/antifilter-community-domain.yaml - path: "./ruleset/antifilter-domain-proxy.yaml" + path: "./rule_provider/antifilter-domain-proxy.yaml" <<: *default_rule_provider_config # ————————————————————————————————————— rules ———————————————————————————————————— rules: # —————————————————————— by application —————————————————————— -- RULE-SET,Youtube,YouTube -- RULE-SET,Notion,Notion -- RULE-SET,Testzone A,Testzone A -- RULE-SET,AI Stuff (Western),Testzone A -- RULE-SET,Discord,Discord -- RULE-SET,USA Services,USA Services +- RULE-SET,Youtube,✳️ YouTube +- RULE-SET,Notion,✳️ Notion +- RULE-SET,Testzone A,✳️ Testzone A +- RULE-SET,AI Stuff (Western),✳️ Testzone A +- RULE-SET,Discord,✳️ Discord +- RULE-SET,USA Services,✳️ USA Services # —————————————————————— adaptaion lists ————————————————————— - RULE-SET,General Direct Domain List,DIRECT - RULE-SET,General Direct IP List,DIRECT -- RULE-SET,General Proxy Domain List,Adaptaion -- RULE-SET,General Proxy IP List,Adaptaion -- RULE-SET,Antifilter IP List,Antifilter -- RULE-SET,Antifilter Community IP List,Antifilter -- RULE-SET,Antifilter Community Domain List,Antifilter +- RULE-SET,General Proxy Domain List,✳️ Adaptaion +- RULE-SET,General Proxy IP List,✳️ Adaptaion +- RULE-SET,Antifilter IP List,✳️ Antifilter +- RULE-SET,Antifilter Community IP List,✳️ Antifilter +- RULE-SET,Antifilter Community Domain List,✳️ Antifilter - MATCH,DIRECT \ No newline at end of file diff --git a/config/solar-clash-tun.yaml b/config/solar-clash-tun.yaml new file mode 100644 index 0000000..c16b617 --- /dev/null +++ b/config/solar-clash-tun.yaml @@ -0,0 +1,551 @@ +# —————————————————————————————————— local proxy ————————————————————————————————— +port: 7890 +socks-port: 7891 +redir-port: 7892 +tproxy-port: 7893 +mixed-port: 7894 +allow-lan: true +bind-address: "*" +# authentication of local SOCKS5/HTTP(S) server +# authentication: +# - "user1:pass1" + +# —————————————————————————————— external controller ————————————————————————————— +external-controller: 0.0.0.0:9090 +secret: '314159271828' +external-ui: "/etc/clash/ui/" + +# ———————————————————————————————————— general ——————————————————————————————————— +mode: rule +ipv6: true +unified-delay: true +log-level: info +disable-keep-alive: true +interface-name: eth0 +keep-alive-interval: 15 +keep-alive-idle: 600 + +# ————————————————————————————————————— hosts ———————————————————————————————————— +hosts: + +# ———————————————————————————————————— profile ——————————————————————————————————— +profile: + store-selected: true + store-fake-ip: true + +# ———————————————————————————————————— sniffer ——————————————————————————————————— +sniffer: + enable: true + parse-pure-ip: true + override-destination: true + sniff: + QUIC: + ports: + - 443 + TLS: + ports: + - 443 + - 8443 + HTTP: + ports: + - 80 + - 8080-8880 + override-destination: true + force-domain: + - "+.netflix.com" + - "+.nflxvideo.net" + - "+.amazonaws.com" + - "+.media.dssott.com" + skip-domain: + - "+.apple.com" + - Mijia Cloud + - dlg.io.mi.com + - "+.oray.com" + - "+.sunlogin.net" + - "+.push.apple.com" + +# —————————————————————————————————————— dns ————————————————————————————————————— +dns: + enable: true + prefer-h3: true + ipv6: true + listen: 0.0.0.0:53 + default-nameserver: + - 114.114.114.114 + - 8.8.8.8 + enhanced-mode: fake-ip + use-hosts: false + fake-ip-range: 198.18.0.1/16 + fake-ip-filter-mode: blacklist + fake-ip-filter: + # ———————————————————— self-hosted domains ——————————————————— + - '*.lan' + - '+.dts' + - '+.webway.dts' + - '+.netbird.selfhosted' + - '+.shamanlanding.org' + nameserver: + - https://purpose.shamanlanding.org/dns-query/dts-pontifex + - https://d.adguard-dns.com/dns-query/5ffb7de2 + fallback: + - https://dns.google/dns-query + - https://cloudflare-dns.com/dns-query + + # If IP addresses resolved with servers in `nameservers` are in the specified + # subnets below, they are considered invalid and results from `fallback` + # servers are used instead. + # + # IP address resolved with servers in `nameserver` is used when + # `fallback-filter.geoip` is true and when GEOIP of the IP address is `CN`. + # + # If `fallback-filter.geoip` is false, results from `nameserver` nameservers + # are always used if not match `fallback-filter.ipcidr`. + # + # This is a countermeasure against DNS pollution attacks. + # fallback-filter: + # geoip: true + # geoip-code: CN + # ipcidr: + # - 240.0.0.0/4 + # domain: + # - '+.google.com' + # - '+.facebook.com' + # - '+.youtube.com' + # Lookup domains via specific nameservers + # nameserver-policy: + # 'www.baidu.com': '114.114.114.114' + # '+.internal.crop.com': '10.0.0.1' + +# —————————————————————————————————————— tun ————————————————————————————————————— +tun: + enable: true + stack: mixed + device: utun + auto-route: true + auto-detect-interface: true + dns-hijack: + - any:53 + +# ————————————————————————————————————— macro ———————————————————————————————————— + health-check-for-providers: &health_check_for_providers + enable: true + interval: 600 + url: http://www.gstatic.com/generate_204 + + health-check-for-selectors: &health_check_for_selectors + url: https://cp.cloudflare.com/generate_204 + interval: 300 + + health-check-for-load-balancers: &health_check_for_load_balancers + url: https://cp.cloudflare.com/generate_204 + interval: 300 + + default-rule-provider-config: &default_rule_provider_config + type: http + behavior: classical + interval: 86400 + + p-vpn-list_balancer: &p_vpn_list_balancer + type: load-balance + strategy: sticky-sessions + use: + - own + + p-vpn-list_selector: &p_vpn_list_selector + type: select + use: + - own + + np-vpn-list_url_test: &np_vpn_list_url_test + type: url-test + tolerance: 50 + use: + - xfizz + - arza-1 + - Un1c4d3 + + np-vpn-list_balancer: &np_vpn_list_balancer + type: load-balance + strategy: sticky-sessions + use: + - xfizz + - arza-1 + - Un1c4d3 + + np-vpn-list_selector: &np_vpn_list_selector + type: select + use: + - xfizz + - arza-1 + - Un1c4d3 + + default-private-proxies-lb-selector: &default_private_proxies_lb_selector + type: select + proxies: + - ⚖️ Personal VPN + +# ————————————————————————————————— proxies list ————————————————————————————————— +proxies: +# ——————————————————— private vpn services ——————————————————— + + + +# ———————————————————————————————— proxy providers ——————————————————————————————— +proxy-providers: + # ——————————————————— private vpn services ——————————————————— + #https://dexterity.shamanlanding.org/M4eh2gd/first + own: + type: http + url: "https://dexterity.shamanlanding.org/M4eh2gd/first" + interval: 3600 + proxy: DIRECT + path: "./proxy_provider/own-1.txt" + exclude-filter: "(?i)xhttp" + override: + additional-prefix: "🔆 " + additional-suffix: "" + health-check: + <<: *health_check_for_providers + + # ——————————————————— non-personal services —————————————————— + #https://xfizz.cc/sublink/XzU0rRmBeOZtIPprW46f2ieNFcF8PJw9?name=1Y:2213 + xfizz: + type: http + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/fizz-vpn.txt" + interval: 3600 + proxy: 🔢 Personal VPN + path: "./proxy_provider/fizz-vpn.txt" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" + override: + additional-prefix: "" + additional-suffix: "•𝓯" + health-check: + <<: *health_check_for_providers + + #https://arza.top/sub/dGZjNHVlLDE3MzIzMDQ2MTYowA-efEYOh + arza-1: + type: http + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/arza.txt" + interval: 3600 + proxy: 🔢 Personal VPN + path: "./proxy_provider/arza.txt" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" + override: + additional-prefix: "" + additional-suffix: "•𝓪" + health-check: + <<: *health_check_for_providers + + #https://subs.un1c4d3.ru:52478/sub/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJQTF9WTFNTX0FMTDIxMCIsImFjY2VzcyI6InN1YnNjcmlwdGlvbiIsImlhdCI6MTczNzgwMDQwOH0.mPr4BSMMpo1mrlZPvB34IRGcn2mHOZetHXaZyebirT4 + Un1c4d3: + type: http + url: "https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/proxy-provider/Un1c4d3.txt" + interval: 3600 + proxy: DIRECT + path: "./proxy_provider/Un1c4d3.txt" + exclude-filter: "(?i)Наш TG|Истекает|@FizzVPN|UNAVAILABLE|EXPIRE|TELEGRAM|USERNAME:" + override: + additional-prefix: "" + additional-suffix: "•𝓾" + health-check: + <<: *health_check_for_providers +# ————————————————————————————————— proxy groups ————————————————————————————————— +proxy-groups: + # ————————————————————————— fallback ————————————————————————— + - name: "Automatic Fallback Route" + type: fallback + proxies: + - DIRECT + hidden: true + url: 'https://cp.cloudflare.com/generate_204' + interval: 300 + + # —————————————— load balancers for personal vpn ————————————— + - name: ⚖️ Personal VPN + disable-udp: false + <<: [*p_vpn_list_balancer, *health_check_for_load_balancers] + + # —————————————— url tested for non-personal vpn ————————————— + - name: ⌚ Europe + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland" + <<: [*np_vpn_list_url_test, *health_check_for_load_balancers] + + # ———————————— load balancers for non-personal vpn ——————————— + - name: ⚖️ Russian + disable-udp: false + filter: "(?i)Russia" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + - name: ⚖️ Europe + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + - name: ⚖️ USA + disable-udp: false + filter: "(?i)USA|Canada" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + - name: ⚖️ Asia + disable-udp: false + filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + - name: ⚖️ High Bandwidth + disable-udp: false + filter: "(?i)10 Gbit" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + - name: ⚖️ Fast Servers + disable-udp: false + filter: "(?i)Low Ping" + <<: [*np_vpn_list_balancer, *health_check_for_load_balancers] + + # ————————————— global selectors for personal vpn ———————————— + - name: 🔢 Personal VPN + disable-udp: false + <<: [*p_vpn_list_selector, *health_check_for_selectors] + + # ——————————— global selectors for non-personal vpn —————————— + - name: 🔢 Russian + disable-udp: false + filter: "(?i)Russia" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Europe + disable-udp: false + filter: "(?i)NL|Finland|Estonia|France|Germany|Sweden|Ireland|Moldova" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 USA + disable-udp: false + filter: "(?i)USA|Canada" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Asia + disable-udp: false + filter: "(?i)Hong Kong|China|Malaysia|Philippines|Japan|Singapore" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Kazakhstan + disable-udp: false + filter: "(?i)Kazakhstan|KZ" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 All non-personal + disable-udp: false + filter: "" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Gaming + disable-udp: false + filter: "(?i)game" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Torrent Compliant + disable-udp: false + filter: "(?i)torrent" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 TOR Compliant + disable-udp: false + filter: "(?i)TOR✅" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + - name: 🔢 Fast Servers + disable-udp: false + filter: "(?i)10 Gbit|10Gbit" + <<: [*np_vpn_list_selector, *health_check_for_selectors] + + # ——————— selectors for local rules —————— + - name: ✳️ YouTube + type: select + proxies: + - 🔢 Russian + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Europe + - ⚖️ Russian + - ⚖️ Personal VPN + <<: *health_check_for_selectors + + - name: ✳️ Adaptaion + type: select + proxies: + - 🔢 Fast Servers + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Fast Servers + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ Antifilter + type: select + proxies: + - 🔢 Fast Servers + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Fast Servers + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ Discord + icon: ./icon/png/discord.png + type: select + disable-udp: false + proxies: + - 🔢 Fast Servers + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Fast Servers + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ USA Services + type: select + disable-udp: false + proxies: + - 🔢 USA + - 🔢 Personal VPN + - ⚖️ USA + - ⚖️ Personal VPN + <<: *health_check_for_selectors + + - name: ✳️ Notion + type: select + proxies: + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ AI Stuff (Western) + icon: ./icon/png/openai.png + type: select + proxies: + - 🔢 Personal VPN + - 🔢 Europe + - ⌚ Europe + - ⚖️ Personal VPN + - ⚖️ Europe + <<: *health_check_for_selectors + + - name: ✳️ Testzone A + type: select + proxies: + - 🔢 All non-personal + - 🔢 Russian + - 🔢 Europe + - 🔢 USA + - 🔢 Asia + - 🔢 Kazakhstan + - 🔢 Personal VPN + - ⌚ Europe + - ⚖️ Russian + - ⚖️ Europe + - ⚖️ USA + - ⚖️ Asia + - ⚖️ Fast Servers + - ⚖️ Personal VPN + <<: *health_check_for_selectors + +# ———————————————————————————————— rule providers ———————————————————————————————— +rule-providers: + + # ———————————————————————— gitea lists ——————————————————————— + AI Stuff (Western): + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/ai-stuff-western.yaml # AI Stuff + path: "./rule_provider/ai-stuff-western.yaml" + <<: *default_rule_provider_config + + Discord: + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/discord.yaml # AI Stuff + path: "./rule_provider/discord.yaml" + <<: *default_rule_provider_config + + Notion: + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/notion.yaml # Notion + path: "./rule_provider/notion.yaml" + <<: *default_rule_provider_config + + Youtube: + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/youtube.yaml # Youtube + path: "./rule_provider/youtube.yaml" + <<: *default_rule_provider_config + + Testzone A: + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/testzone-a.yaml + path: "./rule_provider/testzone-a.yaml" + <<: *default_rule_provider_config + + USA Services: + url: https://gitea.shamanlanding.org/DaTekShaman/clash-rules/raw/branch/main/rule-provider/usa-services.yaml + path: "./rule_provider/usa-services.yaml" + <<: *default_rule_provider_config + + # —————————————————————— adaptaion lists ————————————————————— + General Direct Domain List: + url: http://purpose.shamanlanding.org:9999/direct-domain.yaml + path: "./rule_provider/direct-domain.yaml" + <<: *default_rule_provider_config + + General Direct IP List: + url: http://purpose.shamanlanding.org:9999/direct-ip.yaml + path: "./rule_provider/direct-ip.yaml" + <<: *default_rule_provider_config + + General Proxy Domain List: + url: http://purpose.shamanlanding.org:9999/proxy-domain.yaml + path: "./rule_provider/adaptation-domain-proxy.yaml" + <<: *default_rule_provider_config + + General Proxy IP List: + url: http://purpose.shamanlanding.org:9999/proxy-ip.yaml + path: "./rule_provider/adaptation-ip-proxy.yaml" + <<: *default_rule_provider_config + + # ————————————————— antifilter community list ———————————————— + Antifilter IP List: + url: http://purpose.shamanlanding.org:9999/antifilter-ip.yaml + path: "./rule_provider/antifilter-ip-proxy.yaml" + <<: *default_rule_provider_config + Antifilter Community IP List: + url: http://purpose.shamanlanding.org:9999/antifilter-community-ip.yaml + path: "./rule_provider/antifilter-community-ip-proxy.yaml" + <<: *default_rule_provider_config + Antifilter Community Domain List: + url: http://purpose.shamanlanding.org:9999/antifilter-community-domain.yaml + path: "./rule_provider/antifilter-domain-proxy.yaml" + <<: *default_rule_provider_config + +# ————————————————————————————————————— rules ———————————————————————————————————— +rules: + +# —————————————————————— by application —————————————————————— +- RULE-SET,Youtube,✳️ YouTube +- RULE-SET,Notion,✳️ Notion +- RULE-SET,Testzone A,✳️ Testzone A +- RULE-SET,AI Stuff (Western),✳️ Testzone A +- RULE-SET,Discord,✳️ Discord +- RULE-SET,USA Services,✳️ USA Services + +# —————————————————————— adaptaion lists ————————————————————— +- RULE-SET,General Direct Domain List,DIRECT +- RULE-SET,General Direct IP List,DIRECT +- RULE-SET,General Proxy Domain List,✳️ Adaptaion +- RULE-SET,General Proxy IP List,✳️ Adaptaion +- RULE-SET,Antifilter IP List,✳️ Antifilter +- RULE-SET,Antifilter Community IP List,✳️ Antifilter +- RULE-SET,Antifilter Community Domain List,✳️ Antifilter + +- MATCH,DIRECT \ No newline at end of file diff --git a/icons/png/discord.png b/icons/png/discord.png new file mode 100644 index 0000000..f4109b9 Binary files /dev/null and b/icons/png/discord.png differ diff --git a/icons/png/openai.png b/icons/png/openai.png new file mode 100644 index 0000000..27ed72e Binary files /dev/null and b/icons/png/openai.png differ diff --git a/icons/svg/discord.svg b/icons/svg/discord.svg new file mode 100644 index 0000000..c03e8e1 --- /dev/null +++ b/icons/svg/discord.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/icons/svg/openai.svg b/icons/svg/openai.svg new file mode 100644 index 0000000..3b4eff9 --- /dev/null +++ b/icons/svg/openai.svg @@ -0,0 +1,2 @@ + +OpenAI icon \ No newline at end of file