On this page
Three forms of a config
- A link — one server in one line. It starts with the protocol's name:
vless://,vmess://,trojan://,ss://,hysteria2://(or the shorthy2://),tuic://. After#comes the name the client shows. This is what people most often mean by “a config” or “a node”. - A subscription — an
https://address from the service's account page or bot. The client downloads it, gets a list of servers and refreshes the list by itself from then on. Inside is a list of links, the same list in base64, or a Clash (mihomo) config in YAML. Many call it a “sub link”. - A file — a whole configuration:
.conffor WireGuard and AmneziaWG,.ovpnfor OpenVPN, JSON for sing-box or Xray. A file is imported into a client; a double-click won't start it.
What they look like
A link is a single line. Here is VLESS with Reality: the address and port come after the @, the settings after the ?, the name after the #.
vless://user-id@203.0.113.5:443?encryption=none&security=reality&sni=www.example.com&fp=chrome&pbk=public-key&sid=6ba85179&type=tcp#Server-1A subscription is an ordinary web address. In a browser it shows the service's page or a block of text that the client reads.
https://sub.example.com/s/k3Jd82hQxA sing-box or Xray file is JSON that describes the client's connections. In a sing-box file the server sits in outbounds:
{
"outbounds": [
{
"type": "vless",
"server": "203.0.113.5",
"server_port": 443,
"uuid": "user-id"
}
]
}How to tell them apart
vless://…@address:443?…#nameWhat it isOne VLESS server; with
security=realityin it, VLESS with RealityWhere it goesA client built on sing-box or Xray
vmess://and a long block of letters and digitsWhat it isOne VMess server: its settings are JSON encoded in base64
Where it goesA client built on sing-box or Xray
ss://…@address:port#nameorssconf://…What it isOne Shadowsocks server; Outline keys look the same,
ssconf://is the address of a keyWhere it goesA Shadowsocks client;
ssconf://needs one that knows Outline keystrojan://,hysteria2://,hy2://,tuic://What it isOne Trojan, Hysteria2 or TUIC server
Where it goesA client that supports that protocol
https://…from the service's account page or botWhat it isA subscription: a list of servers as links, base64 or Clash YAML
Where it goesThe client's field for subscriptions
A file with
[Interface]and[Peer]What it isWireGuard; with lines such as
Jc,Jmin,S1,H1, AmneziaWGWhere it goesA WireGuard client, or one that knows AmneziaWG
A file with
client,remoteand a<ca>blockWhat it isOpenVPN, usually an
.ovpnfileWhere it goesAn OpenVPN client
JSON with
outboundsWhat it isA whole client config:
"type"inside means sing-box,"protocol"means XrayWhere it goesA client built on that core
How to add each one
- 1
A link
Copy it whole, with no spaces or line breaks, and paste it into the client's add-from-link or add-from-clipboard field. Several links usually go in at once, one per line.
- 2
A subscription
Paste the
https://address into the subscriptions field: the client downloads the servers and refreshes them. Encrypted links such ashapp://crypt…open only in the app they were made for: ask the service for the regularhttps://address. - 3
A file
Use import from a file, or paste the whole text of a WireGuard config. A QR code from a service holds the same link or config: phone clients scan it.
- 4
Connect
Pick a server and connect. The first time, the system asks for administrator rights or VPN permission.
How to check that a config works
A ping only says the server's address answers. It doesn't say the protocol gets through your network or the key is still valid. A real check sends a request through the protocol itself, and its answer tells the cases apart:
- The request goes through — the config works on this network right now.
- The address answers, but nothing goes through — the network blocks this protocol, or the key is wrong or expired.
- No answer — the server is down, or its address is blocked on your network.
- The name isn't found — the server's domain is gone, or your network's DNS doesn't resolve it.
- After connecting — an IP check site should show the server's address and country, not yours.
Free configs from channels: what's the catch
- The server's owner sees your traffic — HTTPS hides the content of pages, but whoever runs the server sees which addresses you connect to, when and how much, and everything that isn't encrypted. With a config from a channel, you don't know who that is.
- They stop working — a config posted for thousands of people overloads the server and gets noticed and blocked quickly, so free configs rarely last long.
- The server can do anything — log connections, add ads to unencrypted pages, send you to a fake page over plain HTTP.
- Never post your own — a link, a subscription address or a .conf file is a key: anyone who has it connects as you and uses your traffic and device slots. If you posted one, ask the service for a new one, or issue a new key on your own server.
- The calmer options — a VPN service you trust, or your own server, where you run it yourself.
Converting between formats
Clients don't all read the same format: one wants Clash YAML, another a list of links, a third sing-box JSON. The free subscription converter on this site (/tools/subscription/) reads links, a base64 subscription, a Clash or mihomo config and sing-box JSON, and writes the same servers in any of these formats, with a QR code for a phone.
It runs in your browser: what you paste isn't sent anywhere, and it doesn't fetch subscription addresses itself, so paste the contents. Not every format can hold every protocol: servers that can't be written in the chosen format are listed with the reason.