# gmoogway/shadowrocket-rules

**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/gmoogway-shadowrocket-rules).**

4,055 stars · 214 forks · gpl-3.0

## Links

- GitHub: https://github.com/GMOogway/shadowrocket-rules
- awesome-repositories: https://awesome-repositories.com/repository/gmoogway-shadowrocket-rules.md

## Topics

`adblock` `direct` `gfw` `gfwlist` `ios` `module` `proxy` `reject` `rules` `shadowrocket` `ss` `v2ray` `xray`

## Description

This project provides a set of curated configuration rules and domain lists for the Shadowrocket app. It consists of network traffic routing rules, ad-blocking domain lists, DNS configuration profiles, and proxy bypass lists used to filter and direct network traffic.

The rules establish policy-based routing logic to determine whether specific traffic is proxied, connected directly, or rejected. This includes specialized lists for proxy bypass management and the blocking of known advertising and tracking domains at the network level.

The project covers a broad range of traffic management capabilities, including URL pattern redirection, DNS server configuration, and the management of UDP fallback behavior. It also utilizes scheduled automation to synchronize and update security and routing policies on a daily cycle.

## Tags

### Networking & Communication

- [Traffic Routing](https://awesome-repositories.com/f/networking-communication/traffic-routing.md) — Directs network traffic through proxies, direct connections, or rejection policies using curated rules. ([source](https://cdn.jsdelivr.net/gh/gmoogway/shadowrocket-rules@master/README.md))
- [Traffic Routing Rules](https://awesome-repositories.com/f/networking-communication/traffic-routing-rules.md) — Provides curated rule sets that dictate how network traffic is routed through a proxy or local connection. ([source](https://github.com/GMOogway/shadowrocket-rules/blob/master/docs/01.shadowrocket_configure.md))
- [DNS Configuration](https://awesome-repositories.com/f/networking-communication/dns-configuration.md) — Provides utilities for managing and customizing system-level DNS resolution settings. ([source](https://github.com/GMOogway/shadowrocket-rules/blob/master/docs/01.shadowrocket_configure.md))
- [DNS Override Resolvers](https://awesome-repositories.com/f/networking-communication/dns-resolution/dns-override-resolvers.md) — Provides DNS override resolvers that intercept system queries and route them through tunnels to prevent leaks.
- [Domain Traffic Filters](https://awesome-repositories.com/f/networking-communication/domain-traffic-filters.md) — Implements domain traffic filters that route network requests based on domain suffixes or keyword matching.
- [Ad-Blocking Lists](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-infrastructure/dns-based-ad-blockers/ad-sdk-blocking-rule-lists/ad-blocking-lists.md) — Provides a comprehensive collection of known advertising domains to block unwanted content and tracking.
- [Network Traffic Filters](https://awesome-repositories.com/f/networking-communication/network-traffic-filters.md) — Provides standardized blocklists of web addresses for integration with proxy and routing software.
- [Proxy Bypass Lists](https://awesome-repositories.com/f/networking-communication/proxy-bypass-lists.md) — Directs connections for specified domains or IP addresses to the local network interface instead of a proxy. ([source](https://github.com/GMOogway/shadowrocket-rules/blob/master/docs/01.shadowrocket_configure.md))
- [Proxy Management](https://awesome-repositories.com/f/networking-communication/proxy-management.md) — Maintains lists of domains and IP addresses that should bypass the proxy to connect directly.
- [Bypass Configurations](https://awesome-repositories.com/f/networking-communication/proxy-servers/proxy-configurations/bypass-configurations.md) — Provides rules for excluding specific hosts and IP addresses from proxy routing.
- [Traffic Routing Policies](https://awesome-repositories.com/f/networking-communication/traffic-routing-policies.md) — Defines traffic routing policies that apply rules to network traffic based on destination and origin.
- [Automated Rule Management](https://awesome-repositories.com/f/networking-communication/automated-rule-management.md) — Automates the maintenance and updating of network traffic filtering rulesets. ([source](https://github.com/GMOogway/shadowrocket-rules/blob/master/docs/02.shadowrocket_update_modules.md))
- [Encrypted DNS Profile Installers](https://awesome-repositories.com/f/networking-communication/dns-configuration/encrypted-dns-profile-installers.md) — Includes configuration profiles to route system DNS traffic through encrypted servers.
- [DNS Servers](https://awesome-repositories.com/f/networking-communication/dns-servers.md) — Provides configuration for DNS servers to manage how domain names are resolved on the device.
- [Traffic Rule Sets](https://awesome-repositories.com/f/networking-communication/traffic-rule-sets.md) — Manages organized collections of routing rules to ensure specific overrides take precedence. ([source](https://cdn.jsdelivr.net/gh/gmoogway/shadowrocket-rules@master/README.md))

### Security & Cryptography

- [Content Filtering](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/browser-security/content-filtering-blocking/content-filtering.md) — Provides mechanisms to identify and block unwanted advertising content from reaching the user. ([source](https://cdn.jsdelivr.net/gh/gmoogway/shadowrocket-rules@master/README.md))
- [Privacy and Ad Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking.md) — Implements network-level filtering to block advertising and tracking domains.
- [Ad Blocking and Breakage Repairs](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/ad-blocking-and-breakage-repairs.md) — Provides filter categories that suppress advertisements and prevent requests to known ad domains.
- [Routing Policy Automation](https://awesome-repositories.com/f/security-cryptography/policy-based-access-control/access-policy-automation/routing-policy-automation.md) — Provides scheduled automation to keep security and routing policies current through daily synchronization.

### Software Engineering & Architecture

- [Modular Policy Composition](https://awesome-repositories.com/f/software-engineering-architecture/modular-policy-composition.md) — Organizes network policies into discrete layered sets to establish a clear order of execution priority.

### Web Development

- [URL Redirections](https://awesome-repositories.com/f/web-development/url-routing/redirection-rules/geographic-redirection/url-redirections.md) — Implements URL redirection rules to forward requests to alternative addresses and bypass access restrictions.
