Surge
1. What is Surge?
Surge is a powerful network toolbox for macOS & iOS. At its core, it works as a local proxy that lets you:
- π Bypass network restrictions (via proxy nodes)
- π§ Control traffic routing with rules
- π§ͺ Debug network requests (very strong feature)
- π Enhance privacy and security
- π± Manage proxies on Apple devices elegantly
In simple terms: Surge decides βwhich app / website goes through which proxy (or not)β
2. Surge vs Other Tools (Quick Comparison)
| Tool | Strength | Weakness |
|---|---|---|
| Clash | Free, popular | Limited rule flexibility |
| Shadowrocket | Easy on iOS | Less powerful |
| Surge | π₯ Most powerful | Paid, learning curve |
If you want fine-grained control and professional-grade rules, Surge is worth it.
3. Supported Platforms
- β macOS (recommended for beginners)
- β iOS / iPadOS
- β Windows / Linux (not supported)
4. Core Concepts (Must Understand)
Donβt skip this section π Surge becomes easy once these are clear.
4.1 Proxy
A proxy is a server that forwards your traffic.
Examples:
- Shadowsocks
- Vmess
- Trojan
- HTTP / HTTPS
In Surge, proxies are called Proxy or Proxy Group.
4.2 Policy (Proxy Group)
A Policy decides which proxy to use.
Common types:
selectβ manually chooseurl-testβ auto choose fastestfallbackβ backup system
Example:
4.3 Rule
Rules decide:
Which traffic uses which policy
Examples:
- Google β Proxy
- Local websites β Direct
- Ads β Block
Rule logic:
4.4 DIRECT / REJECT
DIRECTβ no proxy, go straightREJECTβ block traffic
5. How Surge Works (Big Picture)
Surge always follows this order.
6. Installing Surge (macOS)
- Download from official site
- Install & open Surge
- Allow:
- Network extension
- VPN permission
- Status bar icon appears β Surge is running
7. Configuration File (.conf)
Surge uses one main config file.
Structure:
You usually subscribe instead of writing from scratch.
8. Using a Subscription (Most Common)
8.1 Import Subscription
- Open Surge
- Profiles β Download Profile from URL
- Paste your providerβs subscription link
- Update profile
Thatβs it β
8.2 Profile Update
- Surge can auto-update
- You can also manually refresh
9. Understanding Each Section (With Examples)
9.1 [General]
Basic behavior settings:
Beginners usually donβt touch this.
9.2 [Proxy]
Defines actual nodes.
Example:
If you use subscriptions β auto generated.
9.3 [Proxy Group]
This is very important.
Example:
[Proxy Group]
Proxy = select, JP, US, DIRECT
Auto = url-test, JP, US, url=http://www.gstatic.com/generate_204
You usually use:
- One manual group
- One auto group
9.4 [Rule]
Rules are matched top β bottom.
Example:
Meaning:
- Google β Proxy
- Apple β Direct
- China IP β Direct
- Everything else β Proxy
10. Rule Matching Priority β οΈ
Very important:
So:
- Specific rules β top
- General rules β bottom
FINALβ always last
11. Common Beginner Setup (Recommended)
Simple & Safe Strategy
- Domestic websites β DIRECT
- Foreign websites β Proxy
- Auto node selection
This gives:
- Good speed
- Low maintenance
12. Surge Dashboard (macOS)
Key panels:
- Overview β proxy status
- Traffic β real-time connections
- Requests β HTTP debugging
- Rules β see matched rules
Surge is famous for its Request Inspector
13. Debugging with Surge (Bonus)
You can:
- View HTTPS requests
- Modify headers
- Mock responses
- Test APIs
This is why many developers love Surge.
14. Common Beginner Mistakes
β Putting FINAL too early
β Mixing Clash rules directly
β Forgetting to enable Surge
β No DIRECT rules β slow local access
15. Learning Path (Recommended)
- Use subscription (donβt write config)
- Learn:
- Proxy Group
- Rule logic
- Modify rules
- Learn Rewrite & Script (advanced)
16. When Should You Use Surge?
Use Surge if you want:
- β Precise routing control
- β Strong debugging
- β macOS / iOS ecosystem
- β Not free
17. Summary
- Surge = professional proxy controller
- Rules decide where traffic goes
- Policy decides which node to use
- Beginners should start with subscriptions
- Learn rules slowly β Surge becomes addictive π