mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
19 lines
772 B
TOML
19 lines
772 B
TOML
[[listen]]
|
||
protocol = "trojans"
|
||
#uuid = "a684455c-b14f-11ea-bf0d-42010aaa0003" #使用uuid或者users都可以,可共存, 如果有多个用户就用users, 否则用uuid更简洁。
|
||
users = [ {user = "a684455c-b14f-11ea-bf0d-42010aaa0003"} ]
|
||
|
||
# 虽然trojan-go 的配置文件中 叫 password, 但是因为它没有用户名,所以依然是完全 根据password 的不同 来区分用户, 所以我们这里依然填到 user 或者 uuid中 , 而不是 users里的 pass中.
|
||
|
||
ip = "0.0.0.0"
|
||
host = "your-domain-name.com"
|
||
port = 4434
|
||
insecure = true
|
||
fallback = ":80"
|
||
cert = "cert.pem"
|
||
key = "cert.key"
|
||
#lazy = true
|
||
|
||
[[dial]]
|
||
protocol = "direct"
|
||
# fullcone = true # 默认的fullcone是关闭状态, 可以取消注释以打开. trojan的udp是可以做到fullcone的. |