Route Chinese domestic traffic directly and foreign traffic through a proxy in a self-hosted setup.
Block advertising and malware domains while allowing legitimate traffic based on geographic origin.
Replace official V2Ray routing data with more comprehensive, frequently-updated IP and domain lists.
Configure Clash-Meta or Hysteria to intelligently split traffic between direct and proxied connections.
This repository provides enhanced routing rule data files for V2Ray and compatible proxy tools. V2Ray is a network proxy framework used to route internet traffic through different paths based on rules, for example, sending Chinese domestic websites through a direct connection while routing foreign websites through a proxy. The two core data files it produces are geoip.dat (geographic IP address data) and geosite.dat (domain name categorizations), which replace the official versions provided by V2Ray with more comprehensive and frequently updated alternatives. The geoip.dat file maps IP address ranges to countries and CDN providers such as Cloudflare, Google, Netflix, and Telegram, allowing routing rules like "if the destination IP belongs to Cloudflare, send it directly." The China IP data merges multiple sources including MaxMind GeoLite2 and operator-specific lists for more accurate coverage. The geosite.dat file categorizes domain names into groups such as Chinese domestic sites (direct connection), sites blocked by China's Great Firewall (proxy needed), advertising domains (blocked), and Windows telemetry domains (optionally blocked). It incorporates data from GFWList, EasyList, AdGuard DNS Filter, and other well-known blocklists. Both files are rebuilt automatically every day at 6 a.m. Beijing time via GitHub Actions to stay current. They are compatible with V2Ray, Xray-core, Clash-Meta, Hysteria, Trojan-Go, and similar proxy tools. Someone running a self-hosted proxy setup to manage network traffic in a China-adjacent context, routing local vs. foreign traffic intelligently, would use these files as drop-in replacements for the official routing data.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.