# russia-v2ray-rules-dat

Auto-generated `geoip.dat` and `geosite.dat` files containing Russian-blocked domains and IP addresses, rebuilt every 6 hours. These are the routing rule files that tools like [[mihomo]], Xray-core, V2Ray, v2rayN, Hysteria, and Trojan-Go use to decide which traffic to route through a proxy.

The project pulls from several upstream data sources:

- **antifilter.download** — scrapes Russia's official block registry (the TSPU/RKN lists) and publishes clean IP and domain lists
- **community.antifilter.download** — community-maintained additions that the official scraper misses
- **Re-filter-lists** — filtered/curated subset of the above
- **v2fly/domain-list-community** — the standard V2Ray community domain database

These get merged into two files. `geoip.dat` has categories like `ru-blocked` (IPs from antifilter), `ru-blocked-community`, and ASN-based sets for Cloudflare, Google, Netflix, Telegram, Twitter. `geosite.dat` has domain categories — the `ru-blocked-all` list alone contains 700k+ domains. There are also service-specific lists for Windows updates, analytics, and advertising.

To use them, point your proxy client at the release URLs:
```
https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/geoip.dat
https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/geosite.dat
```

In [[mihomo]], for example, you'd reference these in your YAML config's `geox-url` section, then write rules like `GEOSITE,ru-blocked,PROXY` or `GEOIP,ru-blocked,PROXY` to route blocked traffic through your proxy while keeping everything else direct.

This is the official geo data source for v2rayN. Maintained by the `@runetfreedom` GitHub org. On the server side, [[3x-ui]] is a popular web panel for running the Xray-core server that these rules route traffic through.

This repo handles the *routing decisions* side of Russian circumvention — which destinations should go through the proxy. The complementary piece is [[vpn-configs-for-russia]], which publishes the proxy endpoints themselves as subscription files, including CIDR/SNI variants for the [[whitelist-internet-blocking|whitelist regime]] on Russian mobile carriers. Together: rules say *what* to route, subscriptions provide *where* to route it through.

**Repo:** https://github.com/runetfreedom/russia-v2ray-rules-dat — 1.4k stars, GPL-3.0.
