How to use a Marzban subscription on iPhone
Marzban gives each user one subscription link that carries all of their servers. 91VPN reads that link directly, so setting up an iPhone takes one paste. This guide covers the panel side, the app side and the settings that matter.
Updated December 6, 2026
Set up the user in Marzban
- In the Marzban dashboard, create a user or open an existing one.
- Under the protocols, turn on the ones your server offers: VLESS, VMess, Trojan or Shadowsocks.
- For VLESS with Reality, open the VLESS settings for the user and set Flow to
xtls-rprx-vision. 91VPN needs the Vision flow for Reality servers. - Set a data limit and expiry date if you want, and save.
Copy the subscription link
In the users list, each user has a copy subscription link button and a QR code button. The link looks like https://your-domain/sub/TOKEN.
If the link shows the wrong address (for example localhost or an IP instead of your domain), set XRAY_SUBSCRIPTION_URL_PREFIX in Marzban's .env file to your public address and restart Marzban.
Marzban chooses the subscription format by the app that asks for it. For 91VPN it returns the standard list of share links, which is what the app reads. You don't need to add /v2ray or any other suffix.
Import it in 91VPN
- Copy the subscription link to your iPhone, or show the QR code on your computer.
- Open 91VPN and tap Nodes. Tap Paste for a copied link, or Scan for the QR code.
- The app adds every server it supports and tells you if it skipped any, and why.
- Select a server, go back and tap connect. The first time, iOS asks to add a VPN configuration; tap Allow.
When you change inbounds or hosts in Marzban, tap the refresh button on the Nodes screen and choose Update. More in the subscription guide.
A free iPhone client for Marzban subscriptions. Your own servers have no time limit.
Which inbounds work
| Inbound in Xray config | In 91VPN |
|---|---|
VLESS, TCP, Reality (user flow xtls-rprx-vision) | Yes |
| VMess, TCP or WebSocket, with or without TLS | Yes |
| Trojan, TCP or WebSocket with TLS | Yes |
Shadowsocks with chacha20-ietf-poly1305, aes-128-gcm or aes-256-gcm | Yes |
| gRPC, xhttp, HTTPUpgrade or mKCP transports | Not yet. Skipped, the rest are added. |
| Shadowsocks 2022 methods | Not yet |
Many Marzban setups include both a VLESS TCP Reality and a VLESS gRPC Reality inbound. 91VPN adds the TCP one and skips the gRPC one, so the user still gets a working server.
Troubleshooting
"No usable servers found at this address"
Either the user has no supported inbound enabled, or the link didn't return a list of servers (for example a login page from a reverse proxy). Open the link in Safari on the iPhone: Marzban's subscription page should load. Then check the user's protocols in the dashboard.
Reality server added but it doesn't connect
The most common cause is the user's VLESS flow being empty. Set it to xtls-rprx-vision, save, and update the subscription in 91VPN. Also check that the Reality port is open on the server.
Servers show the wrong address
In Marzban's Hosts settings, set the address and SNI that clients should use for each inbound, then update the subscription.
It stopped working after a while
The user may have reached the data limit or expiry date, or been disabled. Check the user's status in the dashboard.
Does 91VPN send my subscription anywhere?
No. The subscription link and server addresses stay on your iPhone. 91VPN only counts which server types are imported and whether it worked.
Other guides: 3x-ui on iPhone · VLESS Reality · Subscription links