mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 10:33:12 +00:00
cebb145398
* add translate ENGLISH version README.md * Update README.md add link README.ENG.md * Update config_server.json - translation of comments into english * Update config_client.json translation of comments into english * Update config_server.json translation of comments into english * Update config_client.json, translation of comments into english * Update config_server.json translation of comments into english
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 1080,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
},
|
|
{
|
|
"port": 1081,
|
|
"protocol": "http",
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": ["http", "tls"]
|
|
},
|
|
"settings": {
|
|
"auth": "noauth"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "trojan",
|
|
"settings": {
|
|
"servers": [
|
|
{
|
|
"address": "example.com", // your domain name or server IP
|
|
"flow": "xtls-rprx-direct", // Linux or android can be changed to "xtls-rprx-splice"
|
|
"port": 443,
|
|
"password": "your_password" // your password
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "xtls",
|
|
"xtlsSettings": {
|
|
"serverName": "example.com" // your domain name
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|