Closed DgithubA closed 11 months ago
You can not combine geoip file with geosite file.
To generate your own geoip file, you can use my project here: https://github.com/Loyalsoldier/geoip . The steps have been written in README.
To generate your own geosite file, you can use my project here: https://github.com/Loyalsoldier/domain-list-custom
The steps are:
direct
or block
go run ./ --datapath=/path/to/your/own/lists/directory
i use bellow rules to bypass proxy(direct), but i have some problem. At the moment, geosite.dat size is 5MB and geoip.dat is 10.2MB . in mobile V2rayNG app when we i use this custom rules, It takes a long time to start xray service and when we dont use any ruls of
geosite:
orgeoip:
, This time is greatly reduced. Now i want to custom this rules and put all of them in one file to Reduce file size and execution time, and use it withext:cutom.bat:direct
andext:custom.bat:block
. Obviously, the size of the file is reduced because there are no additional data and lists that are not necessary(like other geo domain and ips), so as a result, we have better speed. now i have question. how can i do this? how can make my custom .dat file with tags(direct,block,etc)my rules:
geoip:ir, geoip:private, geosite:cloudflare, geosite:github, geosite:category-ir
geosite:category-ads-all