{
"type": "shadowtls",
"tag": "shadowtls-in",
"listen": "::",
"listen_port": 8443,
"handshake": {
"server": "www.wikimedia.org",
"server_port": 443
},
"detour": "trojan-in"
}, {
"type": "trojan",
"tag": "trojan-in",
"listen": "127.0.0.1",
"users": [{
"name": "bitcoinvps.cloud",
"password": "talosliphe"
}]
}
Code language: JSON / JSON with Comments (json)
Download “ShadowTLS Trojan” inbound to your server:
curl https://raw.githubusercontent.com/bitcoinvps/main/shadowtls-trojan/server/config.json > /etc/sing-box/config.json
Code language: Bash (bash)
It is not necessary to change the server settings, but if you do please make sure to match with your client’s ShadowTLS Trojan outbound config.json.
You can enable singbox service.