mirror of https://github.com/wulabing/Xray_onekey
Add files via upload
parent
efe6750335
commit
fb2c6042b8
|
@ -1,116 +1,116 @@
|
||||||
{
|
{
|
||||||
"log":{
|
"log":{
|
||||||
"loglevel": "info"
|
"loglevel": "info"
|
||||||
},
|
},
|
||||||
"inbound": {
|
"inbound": {
|
||||||
"port": 1080,
|
"port": 1080,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
"protocol": "socks",
|
"protocol": "socks",
|
||||||
"domainOverride": [ "tls", "http" ],
|
"domainOverride": [ "tls", "http" ],
|
||||||
"settings": {
|
"settings": {
|
||||||
"auth": "noauth",
|
"auth": "noauth",
|
||||||
"udp": false
|
"udp": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outbound": {
|
"outbound": {
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
"settings": {
|
"settings": {
|
||||||
"vnext": [
|
"vnext": [
|
||||||
{
|
{
|
||||||
"address": "serveraddr",
|
"address": "serveraddr",
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"users": [
|
"users": [
|
||||||
{
|
{
|
||||||
"id": "UUID",
|
"id": "UUID",
|
||||||
"alterId": 64
|
"alterId": 64
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "h2",
|
"network": "h2",
|
||||||
"httpSettings": {
|
"httpSettings": {
|
||||||
"path": "/ray/"
|
"path": "/ray/"
|
||||||
},
|
},
|
||||||
"security": "tls"
|
"security": "tls"
|
||||||
},
|
},
|
||||||
"mux": {
|
"mux": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"outboundDetour": [
|
"outboundDetour": [
|
||||||
{
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
"response": null
|
"response": null
|
||||||
},
|
},
|
||||||
"tag": "direct"
|
"tag": "direct"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"protocol": "blackhole",
|
"protocol": "blackhole",
|
||||||
"settings": {
|
"settings": {
|
||||||
"response": {
|
"response": {
|
||||||
"type": "http"
|
"type": "http"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tag": "blockout"
|
"tag": "blockout"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"routing": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "IPIfNonMatch",
|
"domainStrategy": "IPIfNonMatch",
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct",
|
"outboundTag": "direct",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"0.0.0.0/8",
|
||||||
"10.0.0.0/8",
|
"10.0.0.0/8",
|
||||||
"100.64.0.0/10",
|
"100.64.0.0/10",
|
||||||
"127.0.0.0/8",
|
"127.0.0.0/8",
|
||||||
"169.254.0.0/16",
|
"169.254.0.0/16",
|
||||||
"172.16.0.0/12",
|
"172.16.0.0/12",
|
||||||
"192.0.0.0/24",
|
"192.0.0.0/24",
|
||||||
"192.0.2.0/24",
|
"192.0.2.0/24",
|
||||||
"192.168.0.0/16",
|
"192.168.0.0/16",
|
||||||
"198.18.0.0/15",
|
"198.18.0.0/15",
|
||||||
"198.51.100.0/24",
|
"198.51.100.0/24",
|
||||||
"203.0.113.0/24",
|
"203.0.113.0/24",
|
||||||
"::1/128",
|
"::1/128",
|
||||||
"fc00::/7",
|
"fc00::/7",
|
||||||
"fe80::/10"
|
"fe80::/10"
|
||||||
],
|
],
|
||||||
"domain": null
|
"domain": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct",
|
"outboundTag": "direct",
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"port": null,
|
"port": null,
|
||||||
"outboundTag": "direct",
|
"outboundTag": "direct",
|
||||||
"ip": [
|
"ip": [
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
"domain": null
|
"domain": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue