Create config_server.json

This commit is contained in:
chika0801 2022-02-12 00:41:44 +08:00 committed by GitHub
parent fd884f8798
commit 1b3df88a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,62 @@
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
},
"inbounds": [
{
"port": 443,
"protocol": "trojan",
"settings": {
"clients": [
{
"password": "",
"flow": "xtls-rprx-direct"
}
],
"fallbacks": [
{
"dest": "8001"
},
{
"alpn": "h2",
"dest": "8002"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"certificates": [
{
"certificateFile": "",
"keyFile": ""
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}