Skip to content

Instantly share code, notes, and snippets.

@techzhou
Last active February 22, 2023 01:30
Show Gist options
  • Save techzhou/8ffca436e47bf5290a8c4af943223fe6 to your computer and use it in GitHub Desktop.
Save techzhou/8ffca436e47bf5290a8c4af943223fe6 to your computer and use it in GitHub Desktop.
proxies:
proxy-groups:
- name: ๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
type: select
use:
- All
proxies:
- โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
- ๐Ÿ”ฏ ๆ•…้šœ่ฝฌ็งป
- ๐Ÿ”ฎ ่ดŸ่ฝฝๅ‡่กก
- ๐Ÿ”— ้“พๅผไปฃ็†
- DIRECT
- name: โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
type: url-test
use:
- All
url: "http://www.gstatic.com/generate_204"
interval: 300
tolerance: 50
- name: ๐Ÿ”ฏ ๆ•…้šœ่ฝฌ็งป
type: fallback
use:
- All
url: "http://www.gstatic.com/generate_204"
interval: 180
- name: ๐Ÿ”ฎ ่ดŸ่ฝฝๅ‡่กก
type: load-balance
use:
- All
url: "http://www.gstatic.com/generate_204"
interval: 180
- name: ๐Ÿ”— ้“พๅผไปฃ็†
type: relay
proxies:
- โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
- ่‡ชๅปบ่Š‚็‚น
- name: ๐ŸŽ ่‹นๆžœๆœๅŠก
type: select
proxies:
- ๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
- ๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- name: ๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
type: select
proxies:
- DIRECT
- ๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
- name: ๐Ÿ›‘ ๅ…จ็ƒๆ‹ฆๆˆช
type: select
proxies:
- REJECT
- ๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- name: ๐ŸŸ ๆผ็ฝ‘ไน‹้ฑผ
type: select
proxies:
- ๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- โ™ป๏ธ ่‡ชๅŠจ้€‰ๆ‹ฉ
- ๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
rule-providers:
reject:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
path: ./ruleset/reject.yaml
interval: 86400
icloud:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
path: ./ruleset/icloud.yaml
interval: 86400
apple:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
path: ./ruleset/apple.yaml
interval: 86400
google:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
path: ./ruleset/google.yaml
interval: 86400
proxy:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
path: ./ruleset/proxy.yaml
interval: 86400
direct:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
path: ./ruleset/direct.yaml
interval: 86400
private:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
path: ./ruleset/private.yaml
interval: 86400
gfw:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt"
path: ./ruleset/gfw.yaml
interval: 86400
greatfire:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/greatfire.txt"
path: ./ruleset/greatfire.yaml
interval: 86400
tld-not-cn:
type: http
behavior: domain
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt"
path: ./ruleset/tld-not-cn.yaml
interval: 86400
telegramcidr:
type: http
behavior: ipcidr
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
path: ./ruleset/telegramcidr.yaml
interval: 86400
cncidr:
type: http
behavior: ipcidr
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
path: ./ruleset/cncidr.yaml
interval: 86400
lancidr:
type: http
behavior: ipcidr
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
path: ./ruleset/lancidr.yaml
interval: 86400
applications:
type: http
behavior: classical
url: "https://ghproxy.com/https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
path: ./ruleset/applications.yaml
interval: 86400
rules:
- RULE-SET,applications,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- DOMAIN,clash.razord.top,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- DOMAIN,yacd.haishan.me,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- RULE-SET,private,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- RULE-SET,reject,๐Ÿ›‘ ๅ…จ็ƒๆ‹ฆๆˆช
- RULE-SET,icloud,๐ŸŽ ่‹นๆžœๆœๅŠก
- RULE-SET,apple,๐ŸŽ ่‹นๆžœๆœๅŠก
- RULE-SET,proxy,๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- RULE-SET,direct,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- RULE-SET,lancidr,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- RULE-SET,cncidr,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- RULE-SET,telegramcidr,๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ
- GEOIP,LAN,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- GEOIP,CN,๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž
- MATCH,๐ŸŸ ๆผ็ฝ‘ไน‹้ฑผ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment