Skip to content

Commit

Permalink
Chores.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisIsIan-W committed Nov 23, 2024
1 parent 6472740 commit 32d35df
Show file tree
Hide file tree
Showing 7 changed files with 386 additions and 265 deletions.
82 changes: 82 additions & 0 deletions rules.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#!/bin/bash

# ****************************************************************************************************
# ** **
# 更多模板请参考 rules_templates 文件夹下的文件!
# ** **
# ****************************************************************************************************


SUBSCRIPTION_URLS=(
# Define your subscription url(s) here.
# The format should be: "URL#Your_proxy_server_name"

"https://abc.xyz#airport01"
"https://123.abc#airport02"

)


RULESET_URLS=(

"reject_out|
/etc/homeproxy/ruleset/adblockdns.srs
/etc/homeproxy/ruleset/reject-ruleset1.json
https://reject-ruleset2.json
https://reject-ruleset3.srs"

"direct_out|
https://cn.srs"

"HongKong_common|
https://google.srs
https://youtube.srs"

"HongKong_others|
https://telegram.srs
https://telegramip.json"

"Japan_01|
https://geosite-twitter.srs
https://x.srs
https://twitter.srs"

"USA|
https://geosite-openai.srs
https://bing.srs"

# ------------------ Start 特殊规则集单独选择节点出站(按需使用) ------------------
"google_ruleset01|
https://google.srs
https://google-cn.srs"

"google_ruleset02|
https://google-trust-services@cn.srs"
# ------------------ End 特殊规则集单独选择节点出站(按需使用) ------------------

# More...

)


DNS_SERVERS=(

"HongKong_common_cf_DoH|https://1.1.1.1/dns-query"
"HongKong_others_cf_UDP|1.1.1.1"

"Japan_01|https://doh.opendns.com/dns-query"
"USA|https://doh.opendns.com/dns-query"

# ------------------ Start 特殊规则集单独选择DNS服务器 ------------------
"google_ruleset01|https://8.8.8.8/dns-query"
"google_ruleset02_google_DoT|https://1.1.1.1/dns-query"
# ------------------ End 特殊规则集单独选择DNS服务器 ------------------

"my_cn_direct_TencentUDP|119.29.29.29"

# 223.5.5.5 会作为默认DNS服务器被选中
"backup_servers|
223.5.5.5
8.8.8.8
rcode://refused"
)
100 changes: 0 additions & 100 deletions rules_based_on_nodes.sh

This file was deleted.

77 changes: 0 additions & 77 deletions rules_based_on_proxy_servers.sh

This file was deleted.

88 changes: 0 additions & 88 deletions rules_based_on_rulesets.sh

This file was deleted.

Loading

0 comments on commit 32d35df

Please sign in to comment.