forked from vernesong/OpenClash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
76 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
luci-app-openclash/root/etc/openclash/custom/openclash_custom_fallback_filter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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 `fallback` nameservers | ||
# are always used, and answers from `nameservers` are discarded. | ||
# | ||
# This is a countermeasure against DNS pollution attacks. | ||
|
||
fallback-filter: | ||
geoip: false | ||
ipcidr: | ||
- 0.0.0.0/8 | ||
- 10.0.0.0/8 | ||
- 100.64.0.0/10 | ||
- 127.0.0.0/8 | ||
- 169.254.0.0/16 | ||
- 172.16.0.0/12 | ||
- 192.0.0.0/24 | ||
- 192.0.2.0/24 | ||
- 192.88.99.0/24 | ||
- 192.168.0.0/16 | ||
- 198.18.0.0/15 | ||
- 198.51.100.0/24 | ||
- 203.0.113.0/24 | ||
- 224.0.0.0/4 | ||
- 240.0.0.0/4 | ||
- 255.255.255.255/32 | ||
domain: | ||
- "+.google.com" | ||
- "+.facebook.com" | ||
- "+.youtube.com" | ||
- "+.githubusercontent.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters