Clash Logo
clash-meta.org
Mihomo Kernel Client Aggregation and Tutorial Center
Homepage Download Center Tutorial Center Tools Frequently Asked Questions GitHub
Trojan Link Format · Link Format · Configuration Field

Trojan link format Structural description and sample content

This page explains the common structure, key fields and basic examples of Trojan shared links, and can be used as supporting content for the Trojan link format description page and tool page.

Page Overview
This page organizes download instructions, instructions or related questions around the current topic for easy reference by topic.
The page structure has been organized according to the site directory, and has consistent link relationships with download, tutorial, tool and problem description pages.
If you need to view related content, you can continue to browse the corresponding column in conjunction with the relevant page entry at the bottom of the page.
The client itself does not contain nodes and requires a subscription to connect to the Internet. No node? Signing up for this high-speed airport will give you 1GB of Hong Kong high-speed experience traffic, which is valid within 24 hours. You can try the speed first after importing it; buy if it suits you. Alipay pays directly. It also supports cryptocurrency payment. No cards are tied and no real-name records are left.
Get high-speed node
Format description

Trojan link format

This page explains the common structure, key fields and basic examples of Trojan shared links, and can be used as supporting content for the Trojan link format description page and tool page.

Infrastructure

usually contains protocol headers, passwords, server addresses, ports, query parameters and node names.

Common Fields

Common fields include password, server, port, security, type, sni, path, etc.

Applicable scenarios

Suitable for organizing existing links, troubleshooting field anomalies, or comparing configuration results.

Example content
trojan://password@example.com:443?security=tls&type=ws&sni=example.com&path=%2Fws#NodeName
Supplementary instructions

Frequently asked questions and usage suggestions

The examples on this page focus on common usage scenarios. Different clients may have slightly different representations of field display, sorting, or individual parameters, but the core structure and the meaning of key fields are basically the same.

If you need to continue processing existing links, view Base64 subscription content, or organize YAML configuration, you can continue to use it in conjunction with the corresponding modules in the tool page.

What are the most critical fields in a Trojan link?

Usually password, server address, port, and TLS, transport-related parameters.

Does Trojan also bring path and sni?

In some common scenarios, it depends on the specific transmission and configuration method.

How do this page and the tool page work together?

You can first understand the structure on this page, and then go to the tool page to generate, parse or organize.

High-speed airport recommendation Register to receive 1GB trial traffic
No node yet? Sign up and get 1GB of Hong Kong high-speed trial traffic, which is valid for 24 hours. You can connect to it with one click to try the speed, and then buy if it suits you. Alipay allows direct payment and can be activated in a few minutes; if you are more concerned about privacy, it also supports cryptocurrency payments - no bank cards are tied, and no real-name payment records are left.
Get high-speed node