首页 » 通信网络 » 正文

V2ray 宝塔面板+VLESS

先通过233脚本安装V2RAY 选择33号协议  可参考VEMSS安装流程



bash <(curl -s -L https://git.io/v2ray.sh)

安装后根据以下操作

    location /vpn {  #与 V2RAY config.json 路径path
    proxy_pass       http://127.0.0.1:8844;   # 与V2RAY config.json端口一致
    proxy_redirect             off;
    proxy_http_version         1.1;
    proxy_set_header Upgrade   $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host      $http_host;
       }
           

			},
			"listen": "127.0.0.1",
			"streamSettings": {
             "network": "ws",
              "wsSettings": {
               "path": "/vpn"
                         }
			},
			"sniffing": {
				"enabled": true,
				"destOverride": [
					"http",
					"tls"
				]
			}
		}

TLS证书可通过宝塔面板自行开启

赞 (22)

发表评论