vless 目前最牛配置组合,vless+xtls+readv+trojan,共用 443 端口,速度更快,内存占用降低!
一个域名,一个 vps,我用的 Ubuntu
安装一些东西
snap install certbot
域名解析,certbot 生成证书
Certbot
fuser -k 80/tcp;certbot certonly --standalone --keep --register-unsafely-without-email --agree-tos -d none.blue
脚本安装还是手动安装,随意哈
v2ray 服务器端配置
VlessAndTrojan
{
"log": {
"loglevel": "info"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "e4558b91-e7cb-4e82-b37e-cc059baa107d",
"flow": "xtls-rprx-direct"
}
],
"decryption": "none",
"fallbacks": [
{
"dest": 55555,
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "/etc/letsencrypt/live/demo.none.blue/fullchain.pem",
"keyFile": "/etc/letsencrypt/live/demo.none.blue/privkey.pem"
}
]
}
}
},
{
"port": 55555,
"listen": "127.0.0.1",
"protocol": "trojan",
"settings": {
"clients": [
{
"password": "!@#$%^&*()"
}
],
"fallbacks": [
{
"dest": 80
}
]
},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
后台运行,80 网站可以不搞的
客服端用我打包的便携包 Qv2ray 试试,集成 core 和所有插件,但是只能在 win10 64 位上用。
choco install qv2ray.portable -y
视频教程
How was it? Did this tutorial work? Yes No