Closed devopg closed 2 weeks ago
I suggest you build your own geoip files based on the output geoip.dat
of this project. Refer to the following configuration example:
{
"input": [
{
"type": "v2rayGeoIPDat",
"action": "add",
"args": {
"uri": "https://raw.githubusercontent.com/Loyalsoldier/geoip/release/geoip.dat"
}
},
// Use ASN if you can find the correct ones
{
"type": "maxmindGeoLite2ASNCSV",
"action": "add",
"args": {
"ipv4": "./geolite2/GeoLite2-ASN-Blocks-IPv4.csv",
"ipv6": "./geolite2/GeoLite2-ASN-Blocks-IPv6.csv",
"wantedList": {
"whatsapp": ["AS12345", "AS54321"] // ASN(s) here
}
}
}
// Or use plain text IP(s) or CIDR(s) like the following:
{
"type": "text",
"action": "add",
"args": {
"name": "whatsapp",
"uri": "https://example.com/whatsapp/ip/or/cidr/url.txt"
}
}
],
"output": [
{
"type": "v2rayGeoIPDat",
"action": "output",
"args": {
"outputDir": "./output",
"outputName": "geoip.dat"
}
},
{
"type": "text",
"action": "output"
}
]
}
I meant for ease of use. So that I wouldn't have to write configurations, but could just add geoip:whatsapp.
Hello. WhatsApp generally works for me, but video calls are lagging. Could you add rules for geoip:whatsapp? I actually saw them here, but for some reason, you don't have them. As I understand, you are a provider for x3-ui, and I would really like to see geoip:whatsapp in x3-ui as one of the most popular applications in the world. I think it would be in demand."
https://gitlab.com/rule-cycc/geoip