Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/en_US/v5/config/protocol/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"level": 0,
"email": "",
"account": {
{
"@type": "v2ray.core.proxy.trojan.Account",
"password": ""
}
"@type": "v2ray.core.proxy.trojan.Account",
"password": ""
}
}
```
Expand Down
4 changes: 4 additions & 0 deletions docs/en_US/v5/config/proxy/trojan.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ A password recognized by server.

> `type`: string

The network protocol to use. Common values include "tcp", "tcp4" (IPv4 only), "tcp6" (IPv6 only).

> `dest`: string

The destination address, typically in the form of "host:port", ex: "127.0.0.1:80" .

> `xver`: uint64
8 changes: 7 additions & 1 deletion docs/v5/config/proxy/trojan.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ UDP 包编码方式,默认值为 `None`。(v5.4.0+)

```json
{
"server": []
"users": [],
"packetEncoding": "None",
"fallbacks": []
}
```

Expand Down Expand Up @@ -122,6 +124,10 @@ UDP 包编码方式,默认值为 `None`。(v5.4.0+)

> `type`: string

网络协议. "tcp", "tcp4" (仅IPv4), "tcp6" (仅IPv6).

> `dest`: string

目标地址, 格式为 "host:port", ex: "127.0.0.1:80" .

> `xver`: uint64