77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "error"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"protocol": "trojan",
|
|
"listen": "0.0.0.0",
|
|
"port": 443,
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"password": "V2ryStr0ngP0ss"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer",
|
|
"keyFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"tag": "hongkong-trojan"
|
|
},
|
|
{
|
|
"port": 29999,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "fc903f5d-a007-482b-928c-570da9a851f9",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"dest": "xx.tc.hk.go.107421.xyz:443",
|
|
"serverNames": [
|
|
"xx.tc.hk.go.107421.xyz"
|
|
],
|
|
"privateKey": "eOuEdWwYFkhKHAq6lhx3Txq2H7rZ9uy1csbKt4Jkq0E",
|
|
"shortIds": [
|
|
"ad570cbfab"
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"routeOnly": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |