mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2026-10-19 16:15:38 +00:00
fix docs
This commit is contained in:
@@ -144,65 +144,8 @@ inbound:
|
||||
- tls
|
||||
- trojan1
|
||||
-
|
||||
- transport客户端 client.yaml
|
||||
|
||||
```yaml
|
||||
run-type: custom
|
||||
|
||||
inbound:
|
||||
node:
|
||||
- protocol: transport
|
||||
tag: transport
|
||||
config:
|
||||
local-addr: 127.0.0.1
|
||||
local-port: 1080
|
||||
- protocol: socks
|
||||
tag: socks
|
||||
path:
|
||||
-
|
||||
- transport
|
||||
- socks
|
||||
|
||||
outbound:
|
||||
node:
|
||||
- protocol: transport
|
||||
tag: transport
|
||||
config:
|
||||
remote-addr: you_server
|
||||
remote-port: 443
|
||||
|
||||
- protocol: tls
|
||||
tag: tls
|
||||
config:
|
||||
ssl:
|
||||
sni: localhost
|
||||
key: server.key
|
||||
cert: server.crt
|
||||
|
||||
- protocol: trojan
|
||||
tag: trojan
|
||||
config:
|
||||
password:
|
||||
- 12345678
|
||||
|
||||
path:
|
||||
-
|
||||
- transport
|
||||
- tls
|
||||
- trojan
|
||||
|
||||
```
|
||||
|
||||
- tls
|
||||
- websocket
|
||||
- ws
|
||||
- trojan2
|
||||
|
||||
outbound:
|
||||
node:
|
||||
- protocol: freedom
|
||||
tag: freedom
|
||||
|
||||
path:
|
||||
-
|
||||
- freedom
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user