How to keep a free backup proxy subscription in Clash and v2rayN
How to add a backup proxy subscription in Clash and v2rayN so you stay connected when your main node fails.
Roxi Team
Author & Contributor
You're in the middle of something, and your connection stops working. You check, and your main proxy node is down. Maybe it's an outage. Maybe it's maintenance. Maybe the network just got blocked without warning.
This is where a second subscription helps. A backup proxy subscription gives your app another set of servers to switch to, so you don't lose access when the first one fails. It takes only a few minutes to set up, and you'll be glad you did the next time something breaks.
Below are simple steps for the two most popular apps, Clash and v2rayN.
A Few Quick Terms
Node: One server your internet traffic goes through.
Subscription: A web link that gives your app a list of nodes. When the provider changes the list, your app can update it.
Fallback: A backup plan. If your first choice fails, the app moves to the next one.
Before You Start
Keep your subscription link private. It often contains a personal key. Anyone who has it can use your plan.
Use a provider you trust. Read what they say about pricing, limits, and support.
Know your local rules. Laws about proxy and VPN tools differ from country to country. Make sure your use is legal where you live.
Menus change. Names and layouts differ between app versions, so check your app's own help pages if something looks different.
Setting Up a Backup Subscription in Clash
In Clash, the idea is simple: add the backup link as a provider, put your main node and the backup into one group, and let Clash switch when the main node fails.
Step 1: Add the backup subscription.
Add the backup link under proxy-providers in your config file.
Step 2: Create a fallback group.
Make a fallback group (or a url-test group) that contains your main node and the backup.
Step 3: Let Clash switch for you.
Clash checks your nodes regularly. If the main one stops working, it moves to the backup automatically.
Here is a simple example. Replace the placeholder with your own link:
yaml
proxy-providers:
backup:
type: http
url: "YOUR_BACKUP_SUBSCRIPTION_URL"
path: ./providers/backup.yaml
interval: 3600
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
proxy-groups:
- name: AUTO-FALLBACK
type: fallback
proxies:
- MainNode
use:
- backup
url: https://www.gstatic.com/generate_204
interval: 300A quick note on the two group types:
fallback uses your first working choice and only moves on when it fails. This suits a "main plus backup" setup.
url-test keeps testing all nodes and picks the fastest one.
Some features depend on which Clash core you run, such as Clash Meta (Mihomo). Check your client's documentation if a setting isn't recognized.
Setting Up a Backup Subscription in v2rayN
v2rayN works a little differently. You add the link, update it, test the nodes, and keep the fastest one ready.
Step 1: Open the subscription settings. In many versions, you'll find them under Subscription > Subscription settings.
Step 2: Click Add, give it a name like "Backup," and paste the link.
Step 3: Update the subscription so the nodes load into the list.
Step 4: Run a latency test. This shows which nodes respond fastest.
Step 5: Keep the fastest node as your fallback. If your main node fails, select this one.
Some v2rayN versions offer extra options for switching automatically, and others need a manual switch. Check which options your version has.
Tips to Keep It Working
Test your backup now. Don't wait for an outage to find out it doesn't work.
Update subscriptions now and then. Providers change their node lists.
Use two different providers. If both plans use the same servers, one outage can hit both.
Keep your config safe. Save a copy of your working setup.
Don't share your links. Treat them like a password.
Our Disclosure
Disclosure: we're the small independent team behind Roxi (https://roxi.cc), which we use ourselves as a backup. At the time of writing, the plan details we list are: 30 minutes per day free at full speed, VIP at 3.57 USD per 30 days (200GB), and SVIP at 7.14 USD per 30 days (500GB). New users get an exclusive offer and a free trial. Contact: support@roxi.cc
Plans and prices can change, so check the website for the latest details before you decide.
Share What You Learn
If you've set up your own backup and learned something along the way, writing it down can help others. You can read this page on the best blogging platform to see one place to publish guides like this, or explore PostNest directly.


