Files
v2ray_simple/examples/trojan.server.toml
2022-05-12 14:56:35 +08:00

19 lines
772 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[[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的.