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 the HTTPS protocol, designed to bypass network censorship covertly and efficiently. Trojan uses TLS encryption so that its traffic is indistinguishable from ordinary HTTPS traffic, making it difficult for censorship mechanisms such as the Great Firewall (GFW) to detect and block.
Characteristics of Trojan
- HTTPS protocol: Trojan uses HTTPS (HTTP over TLS) for data transmission, so its traffic is hard to distinguish from ordinary HTTPS traffic, effectively evading traffic analysis and detection.
- Encryption: because it uses TLS, Trojan's traffic is automatically protected by strong encryption, ensuring data security and privacy.
- High performance: Trojan is simple and efficient by design, delivers excellent performance, suits a wide range of network environments, and provides a stable, fast proxy service.
- Multi-platform support: Trojan supports Windows, macOS, Linux, and other operating systems, with corresponding client and server implementations.
- Easy deployment: deploying a Trojan server is relatively simple and is usually combined with a web server (such as Nginx) to further enhance traffic concealment.
How Trojan Works
- Client configuration: users configure the Trojan client locally, specifying the server address, port, password, and other parameters.
- Server configuration: deploy the Trojan server on a remote host, configure the TLS certificate and key, and set the listening port and authentication password.
- Connection establishment: the client and server establish a secure connection over TLS, and all transmitted data is encrypted.
- Data transmission: once the connection is established, all client requests are forwarded to the destination through the Trojan server, and responses are likewise returned to the client through the Trojan server.
Use Cases
- Bypassing censorship: because its traffic is disguised as ordinary HTTPS traffic, Trojan can effectively bypass various forms of network censorship and blocking.
- Privacy protection: through TLS encryption, Trojan ensures the privacy and security of user data in transit.
- High-efficiency proxying: suited to network proxy needs that demand high performance and stability, such as web browsing, streaming media, and online gaming.
Relationship to Other Proxy Tools
Trojan is similar to proxy tools such as Shadowsocks and VMess; all are tools for bypassing censorship and evading network inspection. Unlike those tools, Trojan places greater emphasis on traffic concealment and similarity to regular HTTPS traffic, which makes it perform better in strictly censored network environments.
