{
"type": "trojan",
"tag": "trojan-tls-grpc-out",
"server": "SERVER-IP-ADDRESS",
"server_port": 2082,
"password": "yemufratad9YlYuwaBrA",
"tls": {
"enabled": true,
"disable_sni": false,
"server_name": "subdomain.example.com",
"insecure": false,
"alpn": [
"http/1.1"
]
},
"multiplex": {
"enabled": true,
"protocol": "smux",
"max_connections": 5,
"min_streams": 4,
"max_streams": 0
},
"transport": {
"type": "grpc"
},
"connect_timeout": "5s"
}
Code language: JSON / JSON with Comments (json)
Download “Trojan TLS over gRPC” outbound to your Sing-Box client:
curl https://raw.githubusercontent.com/bitcoinvps/singbox-vpn/main/trojan-tls-grpc/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 gRPC 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.