mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-12-25 19:55:38 +08:00
39 lines
1015 B
JSON
39 lines
1015 B
JSON
|
{
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 10002,
|
||
|
"listen": "0.0.0.0",
|
||
|
"protocol": "trojan",
|
||
|
"settings": {
|
||
|
"clients": [
|
||
|
{
|
||
|
"password": "example",
|
||
|
"email": "xtls@example.com",
|
||
|
"flow": "xtls-rprx-direct",
|
||
|
"level": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "xtls",
|
||
|
"xtlsSettings": {
|
||
|
"certificates": [
|
||
|
{
|
||
|
"certificateFile": "/etc/ssl/v2ray/fullchain.pem",
|
||
|
"keyFile": "/etc/ssl/v2ray/privkey.pem"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "freedom"
|
||
|
}
|
||
|
],
|
||
|
"log": {
|
||
|
"loglevel": "debug"
|
||
|
}
|
||
|
}
|