{"id":13539569,"url":"https://github.com/wulabing/v2ray_ws-tls_bash_onekey","last_synced_at":"2025-05-14T21:10:44.353Z","repository":{"id":37630320,"uuid":"340908965","full_name":"wulabing/V2Ray_ws-tls_bash_onekey","owner":"wulabing","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-27T06:07:49.000Z","size":2757,"stargazers_count":2163,"open_issues_count":71,"forks_count":937,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-11T10:01:06.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wulabing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["wulabing"]}},"created_at":"2021-02-21T13:32:49.000Z","updated_at":"2025-04-10T11:46:43.000Z","dependencies_parsed_at":"2024-09-13T13:23:58.254Z","dependency_job_id":"cc1b583f-8405-41bb-84a0-512cedc0241d","html_url":"https://github.com/wulabing/V2Ray_ws-tls_bash_onekey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulabing%2FV2Ray_ws-tls_bash_onekey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulabing%2FV2Ray_ws-tls_bash_onekey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulabing%2FV2Ray_ws-tls_bash_onekey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulabing%2FV2Ray_ws-tls_bash_onekey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wulabing","download_url":"https://codeload.github.com/wulabing/V2Ray_ws-tls_bash_onekey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227631,"owners_count":22035671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T09:01:28.076Z","updated_at":"2025-05-14T21:10:43.462Z","avatar_url":"https://github.com/wulabing.png","language":"Shell","funding_links":["https://github.com/sponsors/wulabing"],"categories":["\u003ca id=\"1a9934198e37d6d06b881705b863afc8\"\u003e\u003c/a\u003e通信\u0026\u0026代理\u0026\u0026反向代理\u0026\u0026隧道","\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"dbc310300d300ae45b04779281fe6ec8\"\u003e\u003c/a\u003eV2Ray"],"readme":"## V2Ray 基于 Nginx 的 vmess+ws+tls 一键安装脚本\n\n\u003e 感谢 JetBrains 提供的非商业开源软件开发授权\n\n\u003e Thanks for non-commercial open source development authorization by JetBrains\n\n## 由于 Nginx 前置导致的嵌套 tls 可能会出现连接阻断，目前仅推荐使用 reality ，建议移步到以下地址\nhttps://github.com/wulabing/xray_docker\n\n### 关于 VMess MD5 认证信息 淘汰机制\n\u003e 自 2022 年 1 月 1 日起，服务器端将默认禁用对于 MD5 认证信息 的兼容。任何使用 MD5 认证信息的客户端将无法连接到禁用 VMess MD5 认证信息的服务器端。\n\n受到影响的用户，我们强烈建议您重新安装，并设置alterid为0（默认值目前已经修改为0），不再使用 VMess MD5 认证机制\n如果您不想重新安装，您可以通过使用 https://github.com/KukiSa/VMess-fAEAD-disable 强制开启对于 MD5 认证机制的兼容\n\n### Telegram 群组\n* telegram 交流群:https://t.me/wulabing_v2ray \n* telegram 更新公告频道：https://t.me/wulabing_channel\n\n### 准备工作\n* 准备一个域名，并将A记录添加好。\n* [V2ray官方说明](https://www.v2ray.com/)，了解 TLS WebSocket 及 V2ray 相关信息\n* 安装好 wget\n\n### 安装/更新方式（h2 和 ws 版本已合并）\nVmess+websocket+TLS+Nginx+Website\n```\nwget -N --no-check-certificate -q -O install.sh \"https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh\" \u0026\u0026 chmod +x install.sh \u0026\u0026 bash install.sh\n```\n\nVLESS+websocket+TLS+Nginx+Website\n```\nwget -N --no-check-certificate -q -O install.sh \"https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/dev/install.sh\" \u0026\u0026 chmod +x install.sh \u0026\u0026 bash install.sh\n```\n\n### 注意事项\n* 如果你不了解脚本中各项设置的具体含义，除域名外，请使用脚本提供的默认值\n* 使用本脚本需要你拥有 Linux 基础及使用经验，了解计算机网络部分知识，计算机基础操作\n* 目前支持Debian 9+ / Ubuntu 18.04+ / Centos7+ ，部分Centos模板可能存在难以处理的编译问题，建议遇到编译问题时，请更换至其他系统模板\n* 群主仅提供极其有限的支持，如有问题可以询问群友\n* 每周日的凌晨3点，Nginx 会自动重启以配合证书的签发定时任务进行，在此期间，节点无法正常连接，预计持续时间为若干秒至两分钟\n\n### 更新日志\n\u003e 更新内容请查看 CHANGELOG.md\n\n### 鸣谢\n* ~~本脚本的另一个分支版本（Use Host）地址： https://github.com/dylanbai8/V2Ray_ws-tls_Website_onekey 请根据需求进行选择~~ 该作者可能已停止维护\n* 本脚本中 MTProxy-go TLS 版本项目引用 https://github.com/whunt1/onekeymakemtg 在此感谢 whunt1\n* 本脚本中 锐速4合1脚本原项目引用 https://www.94ish.me/1635.html 在此感谢\n* 本脚本中 锐速4合1脚本修改版项目引用 https://github.com/ylx2016/Linux-NetSpeed 在此感谢 ylx2016\n\n### 证书\n\u003e 如果你已经拥有了你所使用域名的证书文件，可以将 crt 和 key 文件命名为 v2ray.crt v2ray.key 放在 /data 目录下（若目录不存在请先建目录），请注意证书文件权限及证书有效期，自定义证书有效期过期后请自行续签\n\n脚本支持自动生成 let's encrypted 证书，有效期3个月，理论上自动生成的证书支持自动续签\n\n### 查看客户端配置\n`cat ~/v2ray_info.txt`\n\n### V2ray 简介\n\n* V2Ray是一个优秀的开源网络代理工具，可以帮助你畅爽体验互联网，目前已经全平台支持Windows、Mac、Android、IOS、Linux等操作系统的使用。\n* 本脚本为一键完全配置脚本，在所有流程正常运行完毕后，直接按照输出结果设置客户端即可使用\n* 请注意：我们依然强烈建议你全方面的了解整个程序的工作流程及原理\n\n### 建议单服务器仅搭建单个代理\n* 本脚本默认安装最新版本的V2ray core\n* V2ray core 目前最新版本为 4.22.1（同时请注意客户端 core 的同步更新，需要保证客户端内核版本 \u003e= 服务端内核版本）\n* 建议使用默认的443端口作为连接端口\n* 伪装内容可自行替换。\n\n### 注意事项\n* 推荐在纯净环境下使用本脚本，如果你是新手，请不要使用Centos系统。\n* 在尝试本脚本确实可用之前，请不要将本程序应用于生产环境中。\n* 该程序依赖 Nginx 实现相关功能，请使用 [LNMP](https://lnmp.org) 或其他类似携带 Nginx 脚本安装过 Nginx 的用户特别留意，使用本脚本可能会导致无法预知的错误（未测试，若存在，后续版本可能会处理本问题）。\n* V2Ray 的部分功能依赖于系统时间，请确保您使用V2RAY程序的系统 UTC 时间误差在三分钟之内，时区无关。\n* 本 bash 依赖于 [V2ray 官方安装脚本](https://install.direct/go.sh) 及 [acme.sh](https://github.com/Neilpang/acme.sh) 工作。\n* Centos 系统用户请预先在防火墙中放行程序相关端口（默认：80，443）\n\n\n### 启动方式\n\n启动 V2ray：`systemctl start v2ray`\n\n停止 V2ray：`systemctl stop v2ray`\n\n启动 Nginx：`systemctl start nginx`\n\n停止 Nginx：`systemctl stop nginx`\n\n### 相关目录\n\nWeb 目录：`/home/wwwroot/3DCEList`\n\nV2ray 服务端配置：`/etc/v2ray/config.json`\n\nV2ray 客户端配置: `~/v2ray_info.inf`\n\nNginx 目录： `/etc/nginx`\n\n证书文件: `/data/v2ray.key 和 /data/v2ray.crt` 请注意证书权限设置\n\n### 捐赠\n\n您可以使用我的 搬瓦工 AFF 购买 VPS\n\nhttps://bandwagonhost.com/aff.php?aff=63939\n\n您可以使用我的 justmysocks AFF 购买搬瓦工提供的代理\n\nhttps://justmysocks.net/members/aff.php?aff=17621\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwulabing%2Fv2ray_ws-tls_bash_onekey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwulabing%2Fv2ray_ws-tls_bash_onekey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwulabing%2Fv2ray_ws-tls_bash_onekey/lists"}