{"id":18355470,"url":"https://github.com/linabellbiu/xray","last_synced_at":"2025-10-17T12:32:35.753Z","repository":{"id":45802957,"uuid":"475942751","full_name":"linabellbiu/xray","owner":"linabellbiu","description":"🚀 一键安装vpn，学会自己搭建","archived":false,"fork":false,"pushed_at":"2022-10-14T08:08:49.000Z","size":32,"stargazers_count":28,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T23:51:15.117Z","etag":null,"topics":["vless","xray","xtls"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linabellbiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-30T15:33:31.000Z","updated_at":"2025-02-13T04:11:40.000Z","dependencies_parsed_at":"2023-01-20T00:46:57.202Z","dependency_job_id":null,"html_url":"https://github.com/linabellbiu/xray","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/linabellbiu%2Fxray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linabellbiu%2Fxray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linabellbiu%2Fxray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linabellbiu%2Fxray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linabellbiu","download_url":"https://codeload.github.com/linabellbiu/xray/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247484360,"owners_count":20946384,"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":["vless","xray","xtls"],"created_at":"2024-11-05T22:07:02.235Z","updated_at":"2025-10-17T12:32:30.704Z","avatar_url":"https://github.com/linabellbiu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 自己搭建vpn \u0026\u0026 xray \u0026\u0026 科学上网 \u0026\u0026 VLESS协议 \u0026\u0026 XTLS\n# 此教程仅限学习交流，禁止发布侮辱、造谣、损害国家利益等相关内容。\n# 脚本摘录大神[@hijkpw](https://github.com/hijkpw)[一键搭建脚本](https://github.com/hijkpw/scripts/tree/master) 非常感谢为自由上网做出的贡献\n\n[Xray一键脚本](https://github.com/wangxudong123/xray/blob/main/xray.sh)\n\n#### 前期准备:\n1. 有基本linux技巧\n2. 准备一台SSH能连接到境外的VPS，可参考https://my.vultr.com/\n3. 需要有域名(可参考[域名服务商https://www.namesilo.com/](https://www.namesilo.com/))dns解析到当前境外服务器的ip\n4. 需要ssl证书[从阿里获取免费证书](https://itlanyan.com/get-free-ssl-certificates-from-aliyun/)\n\n\n#### 配置xray服务端\n1. [Xray一键脚本](https://github.com/wangxudong123/xray/blob/main/xray.sh) 放到服务器的/root 目录下\n2. 把ssl证书([从阿里获取免费证书](https://itlanyan.com/get-free-ssl-certificates-from-aliyun/))放到服务器的/root 目录下\n3. 执行脚本，会看到下面的界面\n  ```\n  [root@vultr ~]# ./xray.sh \n  #############################################################\n  #                     Xray一键安装脚本                      #\n  # 作者: 网络跳越(hijk)                                      #\n  # 网址: https://hijk.art                                    #\n  # 论坛: https://hijk.club                                   #\n  # TG群: https://t.me/hijkclub                               #\n  # Youtube频道: https://youtube.com/channel/UCYTB--VsObzepVJtc9yvUxQ #\n  #############################################################\n    1.   安装Xray-VMESS\n    2.   安装Xray-VMESS+mKCP\n    3.   安装Xray-VMESS+TCP+TLS\n    4.   安装Xray-VMESS+WS+TLS(推荐)\n    5.   安装Xray-VLESS+mKCP\n    6.   安装Xray-VLESS+TCP+TLS\n    7.   安装Xray-VLESS+WS+TLS(可过cdn)\n    8.   安装Xray-VLESS+TCP+XTLS(推荐)\n    9.   安装trojan(推荐)\n    10.  安装trojan+XTLS(推荐)\n   -------------\n    11.  更新Xray\n    12.  卸载Xray\n   -------------\n    13.  启动Xray\n    14.  重启Xray\n    15.  停止Xray\n   -------------\n    16.  查看Xray配置\n    17.  查看Xray日志\n   -------------\n    0.   退出\n   当前状态：未安装\n\n    请选择操作[0-17]：  \n    \n   ```\n 4. 输入 8\n 5. 看提示操作，一般都是默认就好。等待安装完成后会重启服务器 \n 6. 配置windows xray客户端:[V2rayN 配置教程以及配置VLESS协议](https://v2xtls.org/v2rayn-4-12%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b/)\n    \u003e V2rayN：3.28版本起支持xray，只需要下载[Xray-core](https://pan.baidu.com/s/1mjaqZ9pvKKbf4U2_fPABVA)，将解压的文件放到[V2rayN-Core](https://pan.baidu.com/s/1hLFiysvUbYBjY8vHltJlLQ)文件夹下即可。需要注意的是V2rayN 4.0版本移除了PAC，改用路由规则.\n7. 其他操作系统的客户端请移步[这里](https://www.jamesdailylife.com/xray_software)  \n\n#### 相关文章\n- [xray教程](https://itlanyan.com/xray-tutorial/)\n- [V2rayN 配置教程以及配置VLESS协议](https://v2xtls.org/v2rayn-4-12%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b/)\n- [V2Ray高级技巧：流量伪装](https://itlanyan.com/v2ray-traffic-mask/#bnp_i_2)\n  \u003e 亲测不怎么好用，各种问题\n- [V2Ray客户端](https://itlanyan.com/v2ray-clients-download/)\n- [Xray 的客户端](https://www.jamesdailylife.com/xray_software)\n- [好用的vps vultr](https://my.vultr.com/)\n  \u003e 按照小时收费。被墙还可以删除重新选择实例和ip\n- [域名服务商https://www.namesilo.com/](https://www.namesilo.com/)\n  \u003e 便宜，但是解析dns超级慢可能需要2个小时\n- [从阿里获取免费证书](https://itlanyan.com/get-free-ssl-certificates-from-aliyun/)\n\n\n\n#### 写在最后\n如果你嫌弃麻烦或者效果不好的话，试一下这个邀请链接[传送门](https://xn--4gq62f52gdss.com/#/register?code=FiaHvTyk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinabellbiu%2Fxray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinabellbiu%2Fxray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinabellbiu%2Fxray/lists"}