V2RAY好像变成V2FLY了 试试XTLS 然后又变成XRAY了

 

标题改了一次,加了后面一句,不知道以后还需不需要再加,有人的地方就有江湖啊,老港产片还是经典

移动宽带现在白天还可以,吃鸡也不怎么断线了,sa服丢包经常都是0,时不时还能匹配到na。但晚上就不大行了,游戏进都进不去。联通丢包率30~40%,但晚上能进游戏。之前用ws,现在换XTLS试试。

看功能XTLS就是个web服务器中转?

首先服务器端把需要连接的web ip的443改了

然后服务器端config.json

{
"inbounds": [
{
"port": 443,
"listen":"服务器有多ip就填一个需要的",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "随便,长点",
"flow": "xtls-rprx-origin",
"level": 1
}
],
"decryption": "none",
"fallbacks": [
{
"dest": "上面那个ip:80"
},
{
"path": "/随便长点",
"dest": "上面的web ip改的端口",
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "该域名证书绝对路径",
"keyFile": "该域名证书key绝对路径"
}
]
}
}
},
{
"port": 随便订个端口,在web配置里记得配置一样,但不是外部端口,懂得都懂
"listen": "127.0.0.1",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "上面的id一样",
"level": 1
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"path": "和上面的path一样"
}
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"routing": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}
]
}
}

客户端配置,比较简单,修改自以前的ws配置,也许有不需要的字段,但能用就不研究了。

{
"log": {
"loglevel": "warning"
},
"inbounds": [{
"port": 1080,
"listen": "0.0.0.0",
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"timeout": 300,
"followRedirect": true
}
}],
"outbounds": [{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "服务器域名",
"port": 443,
"users": [
{
"id": "就是服务器中的id",
"flow": "xtls-rprx-origin",
"encryption": "none",
"level": 1
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"serverName": "服务器域名"
}
},
//"tag": "direct"
"tag": "proxy"
},{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}],
"routing": {
"domainStrategy": "IPOnDemand",
"rules":[
{
"type": "field",
"domain": [ //放需要的网址列表
],
"outboundTag": "proxy"
},
// { //其它都直连
// "type": "field",
// "domain": ["regexp:\\.*\\.*"],
// "outboundTag": "direct"
// },

{
"type": "field",
"ip": ["geoip:cn",
"geoip:private"],
"outboundTag": "direct"
},
{
"type": "field",
"outboundTag": "direct",
"domain": ["skype.com",
"xsts.auth.xboxlive.com",
"clubhub.xboxlive.com",
"titlestorage.xboxlive.com",
"inventory.xboxlive.com",
"profile.xboxlive.com",
"privacy.xboxlive.com",
"social.xboxlive.com",
// "userpresence.xboxlive.com",
"win10fore.ndlmix.ourdvs.com",
"v10.events.data.microsoft.com",
"forzaplayercardstorage.blob.core.windows.net",
"xboxlive.cn",
"download.epicgames.com",
"download2.epicgames.com",
"epicgames-download1.akamaized.net",
"geosite:cn"]
}
]
},
"dns": {
"hosts": {
},
"servers": [
{
"address": "自建dns",
"port": 53,
"domains": [
]
},
//"8.8.8.8", 或者把这些打开
//"1.1.1.1",
"localhost"
]
},
"policy": {
"levels": {
"0": {
"uplinkOnly": 0,
"downlinkOnly": 0
}
},
"system": {
"statsInboundUplink": false,
"statsInboundDownlink": false
}
},
"other": {}
}

用起来呢,怎么说呢,感觉不大明显和ws。也许快了一点?游戏问题不是太大,就是na服刺激性整体要高于sa服。而且现在不开语音,貌似也不会被队友直接击杀了。

发表评论