-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(openclash): add more ip to openclash_custom_fallback_filter.yaml
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
modules/openclash/files/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,42 @@ | ||
# 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: | ||
- ::1/128 | ||
- 2001::/32 | ||
- 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" | ||
- "+.googlevideo.com" | ||
- "+.msftconnecttest.com" | ||
- "+.msftncsi.com" |