Trojan client
Trojan client for Windows, macOS, Linux and Android
A good pick when your service gives trojan:// links: simple, and it holds where plain VPNs get cut. Veli is a free app: paste a trojan:// link or a subscription from your VPN service, and the profile appears by itself.
- Free, no sign-up and no limits
- A link, a file or a subscription — into one field
- Kill switch and DNS and IPv6 leak checks
- Split tunneling by sites and apps
Connecting
How to connect Trojan in Veli
- 1
Download Veli
One installer for your system, no sign-up and no email.
- 2
Paste a trojan:// link
A link, a file or a subscription address from your VPN service — into the Add field. The app works out what it is.
- 3
Press Connect
The profile is already in Profiles. The kill switch turns on by itself.
About the protocol
What Trojan is
Trojan hides traffic inside ordinary TLS, so from outside it looks like HTTPS.
Trojan in Veli
- Windows
- works
- macOS
- works
- Linux
- works
- Android and Android TV
- works
- Your own server from the app
- a link from a VPN service only
- Split tunneling
- by sites and apps
The parts of a trojan:// link
Trojan has one of the shortest formats: a password, a server and a site name for TLS. Let's take the sample apart.
- k7Qm2xW9pL4
- The password. Trojan lets you in by it; there is no separate login.
- 203.0.113.23
- The server address.
- :443
- The port. Trojan almost always runs on 443, like an ordinary site.
- sni=www.example.com
- The site name in TLS. It must match the certificate on the server.
- no security or type
- When they're missing, TLS and plain TCP are implied. No need to spell them out.
- #Warsaw
- The profile name in Profiles.
When Trojan doesn't work
Special characters in the password
An @, # or : in the password breaks the link unless it's encoded. Ask the service for a ready link, not the password on its own.
The SNI doesn't match the certificate
Then the TLS handshake fails. The sni name must be the domain the server's certificate is issued for — check the link with the service.
The connection drops at once
The network may have recognized the start of TLS. Try TLS fragmentation in Settings → Security: it suits Trojan.
FAQ
How is Trojan different from VLESS?
Trojan lets you in by a password and always runs in TLS with its own domain's certificate. VLESS lets you in by a UUID and can use Reality, a disguise as another site.
Do I need a domain and a certificate?
No. That's the job of whoever runs the server. A trojan:// link is all you need.
What does the network see while Trojan is on?
A TLS connection to the server and the site name from sni. What's inside — sites and data — is encrypted.
Connect Trojan in a minute
The client is free and needs no account: paste a link and press Connect.