# Loyalsoldier/v2ray-rules-dat

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/loyalsoldier-v2ray-rules-dat).**

18,823 stars · 2,516 forks · gpl-3.0

## Links

- GitHub: https://github.com/Loyalsoldier/v2ray-rules-dat
- awesome-repositories: https://awesome-repositories.com/repository/loyalsoldier-v2ray-rules-dat.md

## Topics

`adblock` `adguard` `anticensorship` `chinalist` `dnsmasq` `easylist` `geoip` `geosite` `gfw` `gfwlist` `hysteria` `ipv4` `ipv6` `mihomo` `proxy` `routing` `trojan` `trojan-go` `v2ray` `xray`

## Description

This project provides a curated repository of categorized network metadata and routing rules designed to optimize traffic steering and privacy protection for proxy clients. It functions as a structured data source that maps domain names and IP addresses to specific routing categories, enabling proxy software to make intelligent decisions about whether traffic should travel through a proxy or connect directly.

The system distinguishes itself through an automated pipeline that aggregates, serializes, and tags disparate community-maintained datasets into a unified, binary-encoded format. By embedding static routing metadata directly into these files, the project allows for low-latency lookups and granular control over network requests. This approach simplifies complex traffic management by providing daily updates that ensure proxy configurations remain current with evolving network conditions.

The project covers a broad capability surface for network policy management, including geographic routing, ad blocking, and the identification of restricted domains. These features allow for attribute-based filtering and the automated bypass of regional content restrictions, effectively streamlining the configuration of proxy software for diverse network environments.

## Tags

### Networking & Communication

- [Traffic Routing Proxies](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-infrastructure/traffic-routing-proxies.md) — Provides structured routing rules and metadata to direct network traffic through proxy or direct connections based on domain and IP classification. ([source](https://github.com/Loyalsoldier/v2ray-rules-dat#readme))
- [Proxy Configuration Rules](https://awesome-repositories.com/f/networking-communication/proxy-configuration-rules.md) — Acts as a community-maintained resource providing daily updated routing rules to optimize traffic steering for proxy clients.
- [Traffic Classification Engines](https://awesome-repositories.com/f/networking-communication/traffic-classification-engines.md) — Provides a structured repository of categorized network metadata used to map domains and IP addresses to specific connection paths.
- [Traffic Routing Rules](https://awesome-repositories.com/f/networking-communication/traffic-routing-rules.md) — Provides a collection of domain and IP address datasets for configuring intelligent traffic routing, ad blocking, and geographic filtering.
- [Network Traffic Routing](https://awesome-repositories.com/f/networking-communication/network-traffic-routing.md) — Directs network requests through specific proxy or direct connections by categorizing traffic based on domain lists and geographic rules. ([source](https://github.com/Loyalsoldier/v2ray-rules-dat/tree/hidden))
- [Domain Traffic Filters](https://awesome-repositories.com/f/networking-communication/domain-traffic-filters.md) — Maintains a curated list of domains that are inaccessible in specific regions to facilitate automated traffic routing. ([source](https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/gfw.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/gfw.txt))
- [Geographic Traffic Routing](https://awesome-repositories.com/f/networking-communication/geographic-traffic-routing.md) — Applies location-based routing policies to manage traffic based on the geographic origin or destination of network requests.
- [Domain Filtering Engines](https://awesome-repositories.com/f/networking-communication/domain-filtering-engines.md) — Organizes domains into logical sets to simplify traffic filtering and streamline proxy configuration processes. ([source](https://github.com/Loyalsoldier/v2ray-rules-dat/blob/master/README.md))
- [Traffic Filtering Rules](https://awesome-repositories.com/f/networking-communication/traffic-filtering-rules.md) — Applies conditional routing rules to domains based on metadata tags to optimize connection paths for regional services. ([source](https://github.com/Loyalsoldier/v2ray-rules-dat/blob/master/README.md))
- [Embedded Routing Metadata](https://awesome-repositories.com/f/networking-communication/intelligent-routing-engines/embedded-routing-metadata.md) — Embeds classification tags directly into data files to allow proxy engines to make intelligent routing decisions without external lookups.

### Repository Format

- [Awesome List](https://awesome-repositories.com/f/repository-format/awesome-list.md) — A community-curated directory that catalogs and links out to other open-source projects, rather than a standalone tool you run yourself.

### Security & Cryptography

- [Network Content Filters](https://awesome-repositories.com/f/security-cryptography/network-content-filters.md) — Blocks access to advertising, tracking, and malicious domains by integrating community-maintained blocklists into network routing rules. ([source](https://github.com/Loyalsoldier/v2ray-rules-dat#readme))
- [Network Ad Blockers](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/network-security-tools/network-ad-blockers.md) — Filters out advertising, tracking, and telemetry domains to improve user privacy and reduce bandwidth consumption.
- [Blocklist Aggregators](https://awesome-repositories.com/f/security-cryptography/blocklist-aggregators.md) — Aggregates and deduplicates community-maintained blocklists into a unified, structured dataset for traffic routing.
- [Regional Bypass Rules](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/regional-bypass-rules.md) — Identifies and routes traffic for domains that are inaccessible in specific regions to facilitate automated bypass of local filtering.

### Data & Databases

- [Binary Serialization Formats](https://awesome-repositories.com/f/data-databases/binary-serialization-formats.md) — Compiles human-readable domain and IP lists into compact binary formats for efficient parsing and low-latency lookups.

### DevOps & Infrastructure

- [Smart CI Pipelines](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/cicd-pipeline-management/continuous-integration-tools/smart-ci-pipelines.md) — Automates the fetching, validation, and transformation of network routing data through scheduled build pipelines.
