Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Lbingyi/Heroku-Xray

使用Heroku部署Xray高性能代理服务,通过ws传输的 (vless)协议
https://github.com/Lbingyi/Heroku-Xray

xray-heroku

Last synced: about 2 months ago
JSON representation

使用Heroku部署Xray高性能代理服务,通过ws传输的 (vless)协议

Awesome Lists containing this project

README

        

## 停用!使用Heroku部署Xray高性能代理服务,通过ws传输的 (vless)协议

> 提醒: 滥用可能导致账户被BAN!!!

## 概述

用于在 Heroku 上部署 vless+websocket+tls,每次部署自动选择最新的 alpine linux 和 Xray core 。
vless 性能更加优秀,占用资源更少。

**Heroku 为我们提供了免费的容器服务,我们不应该滥用它,所以本项目不宜做为长期翻墙使用。**

## 镜像

本镜像不会因为大量占用资源而被封号。注册好Heroku账号并登录后,点击下面按钮便可部署.

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://dashboard.heroku.com/new?template=https://github.com/Lbingyi/Heroku-Xray)

### 路径

`WebSocket` 路径(配置文件中的 `path` )为 `/` 。

### 端口

`端口` 为 `443` 。

### UUID

`UUID` 默认为 `24b4b1e1-7a89-45f6-858c-242cf53b5bdb` 可自行设置。

**XRay 将在部署时会自动实配安装`最新版本`。**

**出于安全考量,除非使用 CDN,否则请不要使用自定义域名,而使用 Heroku 分配的二级域名,以实现 XRay vless Websocket + TLS。**

## 流量中转

可以使用cloudflare的workers来中转流量,配置为:

```js
addEventListener(
"fetch",event => {
let url=new URL(event.request.url);
url.hostname="xxx.herokuapp.com";//你的heroku域名
let request=new Request(url,event.request);
event. respondWith(
fetch(request)
)
}
)
```

## OpenWrt优选IP脚本自动更新:

* [CloudflareST](https://github.com/Lbingyi/CloudflareST) `OpenWrt推荐-速度较快`
* [cf-autoupdate](https://github.com/Lbingyi/cf-autoupdate) `OpenWrt推荐`

## 关于CF筛选IP

* 请参考 [CloudflareSpeedTest](https://github.com/XIU2/CloudflareSpeedTest) `推荐`
* 请参考 [better-cloudflare-ip](https://github.com/badafans/better-cloudflare-ip)

### 特别感谢 :

* [bclswl0827](https://github.com/bclswl0827/v2ray-heroku)
* [yxhit](https://github.com/yxhit)
* [badafans](https://github.com/badafans/better-cloudflare-ip/tree/20201208)