Surge Configuration Tips: Subscription Nodes + Custom Rules

Surge Configuration Tips: Subscription Nodes + Custom Rules

11月 20, 2024 · 2 分钟阅读时长 · 221 字 · -阅读 -评论

Background

Airports often supply full Surge configs containing nodes, rules, scripts, etc. Sometimes I only want their nodes while keeping my own rules. Modules can override parts of a profile, but what if you want to ignore the provider’s rules entirely? Here’s the setup I use.

Create a Policy Group with Subscription Nodes

Add an external subscription policy group and enable auto-update. Use whichever policy type (auto/manual) fits your workflow.

https://static.1991421.cn/2024/2024-11-20-224711.png

Most subscriptions include a dummy node that reports remaining bandwidth. I keep it—it’s handy for monitoring quota.

https://static.1991421.cn/2024/2024-11-20-225811.jpeg

Create Additional Policy Groups

Build other policy groups that reference the subscription group, and add any custom nodes you maintain manually.

https://static.1991421.cn/2024/2024-11-20-224901.jpeg

Now you have a policy group that combines all airport nodes with your own endpoints.

Use Filters to Build Specialized Groups

Need Netflix-only nodes (e.g., SG + JP)? Create a manual policy group, include the subscription group, and add filters to narrow the selection.

https://static.1991421.cn/2024/2024-11-20-225254.jpeg

This approach lets you form country/app-specific policy groups. I have dedicated ones for Netflix, Spotify, Telegram, etc.

https://static.1991421.cn/2024/2024-11-20-225510.jpeg

Add Your Own Rules

Because we’re not using the airport’s rules, add rules manually (or subscribe to trusted rulesets). To avoid surprises, I prefer explicit hand-maintained rules tailored to my setup.

Final Thoughts

With this structure you can subscribe to remote nodes, keep custom policies, and retain full control over routing logic.

Alan H
Authors
开发者,数码产品爱好者,喜欢折腾,喜欢分享,喜欢开源