提醒: 滥用可能导致账户被BAN!!!Telegram讨论群
- 本项目可在heroku上选择性的部署v2ray(trojan-go),shadowsocks,gost,brook等,方便客户端各取所需!
点击上面紫色Deploy to Heroku
,会跳转到heroku app创建页面,填上app的名字、选择节点、按需修改部分参数和AUUID后点击下面deploy创建app即可开始部署
如出现错误,可以多尝试几次,待部署完成后页面底部会显示Your app was successfully deployed
- 点击Manage App可在Settings下的Config Vars项查看和重新设置参数
- 点击View跳转欢迎页面域名即为heroku分配的项目域名,格式为
appname.herokuapp.com
,客户端会用到此域名 - 默认协议密码为$UUID,WS路径为$UUID-[vless|vmess|trojan|ss|gost|brook]格式
- 务必替换所有的appname.herokuapp.com为heroku分配的项目域名
- 务必替换所有的8f91b6a0-e8ee-11ea-adc1-0242ac120002为部署时设置的AUUID
v2ray
* 客户端下载:https://github.com/v2fly/v2ray-core/releases
* 代理协议:vless 或 vmess
* 地址:appname.herokuapp.com
* 端口:443
* 默认UUID:8f91b6a0-e8ee-11ea-adc1-0242ac120002
* 加密:none
* 传输协议:ws
* 伪装类型:none
* 路径:/8f91b6a0-e8ee-11ea-adc1-0242ac120002-vless // 默认vless使用/$uuid-vless,vmess使用/$uuid-vmess
* 底层传输安全:tls
trojan-go
* 客户端下载: https://github.com/p4gefau1t/trojan-go/releases
{
"run_type": "client",
"local_addr": "127.0.0.1",
"local_port": 1080,
"remote_addr": "appname.herokuapp.com",
"remote_port": 443,
"password": [
"8f91b6a0-e8ee-11ea-adc1-0242ac120002"
],
"websocket": {
"enabled": true,
"path": "/8f91b6a0-e8ee-11ea-adc1-0242ac120002-trojan",
"host": "appname.herokuapp.com"
}
}
shadowsocks
* 客户端下载:https://github.com/shadowsocks/shadowsocks-windows/releases/
* 服务器地址: appname.herokuapp.com
* 端口: 443
* 密码:password
* 加密:chacha20-ietf-poly1305
* 插件程序:v2ray-plugin_windows_amd64.exe //需将插件https://github.com/shadowsocks/v2ray-plugin/releases下载解压后放至shadowsocks同目录
* 插件选项: tls;host=appname.herokuapp.com;path=/8f91b6a0-e8ee-11ea-adc1-0242ac120002-ss
gost
* 客户端下载:https://github.com/ginuerzh/gost/releases
* 选择gost-windows-amd64-*.zip下载解压后复制gost的exe文件在电脑中的绝对路径,新建run.bat文件编辑内容如下保存后双击运行:
C:\Users\Administrator\App\gost\gost-windows-amd64.exe -L :1080 -F=ss+wss://AEAD_CHACHA20_POLY1305:8f91b6a0-e8ee-11ea-adc1-0242ac120002@appname.herokuapp.com:443?path=/8f91b6a0-e8ee-11ea-adc1-0242ac120002-gost
brook
* 客户端下载:https://github.com/txthinking/brook/releases
* 选择Brook.exe下载运行,配置wsserver内容wss://appname.herokuapp.com:443/8f91b6a0-e8ee-11ea-adc1-0242ac120002-brook以及密码8f91b6a0-e8ee-11ea-adc1-0242ac120002
cloudflare workers example
const SingleDay = 'appname.herokuapp.com'
const DoubleDay = 'appname.herokuapp.com'
addEventListener(
"fetch",event => {
let nd = new Date();
if (nd.getDate()%2) {
host = SingleDay
} else {
host = DoubleDay
}
let url=new URL(event.request.url);
url.hostname=host;
let request=new Request(url,event.request);
event. respondWith(
fetch(request)
)
}
)