{
"type": "trojan",
"tag": "trojan-tls-out",
"server": "SERVER-IP-ADDRESS",
"server_port": 443,
"password": "Xa79c9adrudlqoq10afr",
"tls": {
"enabled": true,
"disable_sni": false,
"server_name": "subdomain.example.com",
"insecure": false,
"alpn": [
"http/1.1"
]
},
"multiplex": {
"enabled": true,
"protocol": "smux",
"max_connections": 4,
"min_streams": 5,
"max_streams": 0
},
"connect_timeout": "5s"
}
Code language: JSON / JSON with Comments (json)
Download “Trojan TLS over TCP” outbound to your Sing-Box client:
curl https://raw.githubusercontent.com/bitcoinvps/singbox-vpn/main/trojan-tls-tcp/client/config.json > /etc/sing-box/config.json
Code language: Bash (bash)
Please replace “subdomain.example.com” with the domain you configured for Trojan TLS over TCP inbound.
The “SERVER-IP-ADDRESS” field should be replaced with the IP address of your VPS server, which can be IPv4 or IPv6, depending on your provider.
You can enable singbox service and test the server connection.