38 lines
1021 B
JSON

{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 10800,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
}
}
],
"outbounds": [
{
"protocol": "trojan",
"settings": {
"servers": [
{
"address": "example.com", // Replace it with your domain name or server IP (there is no need to resolve the domain name when making a request)
"port": 443,
"password": "", // fill in your password
"level": 0
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "example.com" // Change to your domain name
}
}
}
]
}