v2ray-examples/VMess-TCP-TLS/config_server.json

54 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2018-02-01 22:12:04 +08:00
{
2018-02-01 22:15:53 +08:00
"log": {
2020-08-01 21:35:55 +08:00
"loglevel": "warning"
2018-02-01 22:15:53 +08:00
},
2020-08-01 21:35:55 +08:00
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
2018-02-01 22:15:53 +08:00
},
2020-08-01 21:35:55 +08:00
"inbounds": [
2018-02-01 22:15:53 +08:00
{
2020-08-01 21:35:55 +08:00
"listen": "0.0.0.0",
"port": 1234,
"protocol": "vmess",
"settings": {
"clients": [
{
2020-11-22 01:21:44 +08:00
"id": ""
2020-08-01 21:35:55 +08:00
}
2020-11-22 01:21:44 +08:00
]
2020-08-01 21:35:55 +08:00
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
}
]
}
}
2018-02-01 22:15:53 +08:00
}
],
2020-08-01 21:35:55 +08:00
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
2018-02-01 22:15:53 +08:00
},
2020-08-01 21:35:55 +08:00
{
"protocol": "blackhole",
"tag": "block"
}
]
}