password
type
status
date
slug
summary
tags
category
Property
May 17, 2023 09:31 AM
URL
icon
在之前的容器云文章介绍中,我介绍了大部分的容器云搭建xray节点的流程。但是Back4App的默认域名CDN目前不支持WebSocket,从而导致我们使用普通的xray-paas项目就算部署了也用不了。而多得是CloudFlare的Argo Tunnel内网穿透隧道,正好让我们另辟蹊径,在Back4App上使用xray节点。在这期文章中,我来和大家一起在Back4App容器云部署xray节点
准备材料
- 一枚邮箱(最好是大厂邮箱)
注意事项
文章仅供学习交流,请勿滥用此服务
部署步骤
- 打开Back4App的官网:https://www.back4app.com/
- 输入邮箱及密码注册账号,如有账号请点击“Login”登录
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F270bfd48-eeec-4e47-a016-8a34939c31e9%2F20230306180148.png?table=block&id=610c225d-5923-420e-b271-4375cbc060d4&t=610c225d-5923-420e-b271-4375cbc060d4&width=700&cache=v2)
- 打开Argo-xray-paas项目:https://gitlab.com/Misaka-blog/argo-xray-paas ,点击“Use this template”按钮,创建一个新库
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fcaded569-b9ac-40a7-8e05-301f1ffee800%2F20230205144213.png?table=block&id=68c7d0b3-99bc-4b8a-a654-56d9031f7893&t=68c7d0b3-99bc-4b8a-a654-56d9031f7893&width=700&cache=v2)
- 输入库的名称,然后选择私库,创建私库
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3f0e58bb-efe4-480d-b187-14b1ae08110a%2F20230205144250.png?table=block&id=a80ad323-b4c2-432c-97bf-26107ad437b7&t=a80ad323-b4c2-432c-97bf-26107ad437b7&width=700&cache=v2)
- 点击“Build new app”按钮
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc4ebb65e-e0d5-4e28-a3d2-419752b89eca%2F20230306180353.png?table=block&id=e60ee3f2-bb2a-4325-8c7b-d3dcef5aeb74&t=e60ee3f2-bb2a-4325-8c7b-d3dcef5aeb74&width=700&cache=v2)
- 选择“Containers as a Service”
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F69e969ac-91b1-4f1c-88fc-f6057849ba8e%2F20230306180504.png?table=block&id=6ddfe609-88d1-4511-9222-e5c56963219e&t=6ddfe609-88d1-4511-9222-e5c56963219e&width=700&cache=v2)
- 选择代码仓库
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb93abf2f-0799-423d-adc3-2d24dd6461af%2F20230306180531.png?table=block&id=7c6fc857-dfa3-4a64-bd1f-ed0b63536cbd&t=7c6fc857-dfa3-4a64-bd1f-ed0b63536cbd&width=700&cache=v2)
- 输入项目名称(别提到v2、v2ray、xray等一些明显字眼),填写环境变量。变量说明如下表格所示。其余默认即可
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0364a60e-ab53-46f5-918f-77bfd642bf8b%2F20230306180614.png?table=block&id=f483a838-fb08-4b0f-9d74-140a158fbb7e&t=f483a838-fb08-4b0f-9d74-140a158fbb7e&width=700&cache=v2)
- 等待创建。待创建成功之后复制粘贴提供的链接,备用
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9668a226-815b-4c8b-8354-82b6cb02c894%2F20230306180748.png?table=block&id=9098c722-dce0-4d64-b456-b9e1eac3361b&t=9098c722-dce0-4d64-b456-b9e1eac3361b&width=700&cache=v2)
- 访问 https://xxx.b4a.run/uuid.html (这里的uuid换成自己的uuid),查看Argo Tunnel的节点信息。可以通过复制粘贴分享链接或者是扫描二维码的方式添加节点
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc6900ffd-aae5-406a-82a7-1bb390ec1d53%2F20230306180929.png?table=block&id=5cb7f6b4-f565-418b-9e7b-7e7061afb2de&t=5cb7f6b4-f565-418b-9e7b-7e7061afb2de&width=700&cache=v2)
- 作者:李威俊
- 链接:https://vikim.cyou//article/cfTunnel
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。