v2ray客户端设置为域名
-
打开v2ray客户端,点击左侧的“导入”按钮,选择“从剪贴板导入”。
-
粘贴下面的配置信息到剪贴板中:
{
"inbounds": [{
"port": 1080,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}],
"outbounds": [{
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "example.com",
"port": 443,
"users": [{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"alterId": 64
}]
}]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"serverName": "example.com"
}
}
}]
}
-
将上述配置中的“example.com”替换为你要使用的域名,并将“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”替换为你的vmess链接中的UUID。
-
点击“确定”,保存配置后,点击“连接”按钮即可使用。
原文地址: https://www.cveoy.top/t/topic/9du 著作权归作者所有。请勿转载和采集!