GitHub - andrewfullstack/proxy.conf · GitHub
Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

proxy.conf

Shadowrocket-style .conf rules file for routing — bundled as the default ruleset in nexray and republished here so other proxy clients that speak the same .conf dialect can pick it up directly.

What's inside

default.conf mixes the common categories you'd expect from a Chinese mainland-aware ruleset:

  • Chinese mainland direct — geosite:cn plus hand-curated DOMAIN-SUFFIX rules for major CN sites that don't always show up in geosite (Tencent, Alibaba, ByteDance, NetEase, banks).
  • Ad / tracker blocking — REJECT rules for the largest ad networks and trackers.
  • Apple / Microsoft / Google services — split between direct and proxy depending on which endpoints work over CN routes.
  • Common apps — Telegram, LINE, Discord, GitHub, etc.

It's intentionally portable: the [Rule] section is plain Shadowrocket syntax, and only IP-ASN / USER-AGENT / nested AND beyond the canonical (PROTOCOL,*),(DEST-PORT,*) shape are non-portable (those are dropped by clients without a matching feature, e.g. xray-core).

Using it

Drop the file into your client's config directory under whatever name your client expects (e.g. ~/Library/Application Support/<app>/rules.conf on macOS).

License

GPL-3.0-only, matching the upstream nexray project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors