Are you an LLM? You can read better optimized documentation at /en\wiki\Trojan.md for this page in Markdown format
Trojan
Trojan is a proxy tool built on HTTPS, designed to bypass network censorship quietly and efficiently. Because it relies on TLS, its traffic is indistinguishable from ordinary HTTPS, which makes it hard for censorship systems such as the GFW to detect or block.
Characteristics
- HTTPS transport: Trojan moves data over HTTPS (HTTP over TLS), so traffic analysis cannot easily tell it apart from normal browsing.
- Encryption: TLS provides strong encryption automatically, which protects both confidentiality and privacy.
- High performance: the implementation is lean and efficient, giving stable, fast service across network conditions.
- Cross-platform: Windows, macOS, Linux and more are supported, with both client and server implementations available.
- Easy to deploy: a Trojan server is simple to set up and is usually fronted by a web server such as Nginx to blend in further.
How it works
- Client setup: configure the client locally with the server address, port and password.
- Server setup: deploy the Trojan server with a TLS certificate and key, choose the listening port and set the password.
- Connection: client and server establish a TLS session; everything sent through it is encrypted.
- Transfer: requests are relayed to their destination through the Trojan server, and responses come back the same way.
Use cases
- Bypassing censorship: because the traffic looks like ordinary HTTPS, Trojan slips past most filtering and blocking.
- Privacy: TLS keeps data private while in transit.
- Efficient proxying: a good fit when you need performance and stability — browsing, streaming, gaming.
Relationship to other tools
Trojan sits alongside Shadowsocks and VMess as a censorship-circumvention tool. What sets it apart is how closely its traffic resembles regular HTTPS, which is why it performs well in heavily filtered networks.
