euedeep / ukoreh-v2ray-trojan-gobs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

提醒: 滥用可能导致账户被BAN!!!Telegram讨论群

  • 本项目可在heroku上选择性的部署v2ray(trojan-go),shadowsocks,gost,brook等,方便客户端各取所需!

Deploy

服务端

点击上面紫色Deploy to Heroku,会跳转到heroku app创建页面,填上app的名字、选择节点、按需修改部分参数或者使用默认值后点击下面deploy创建app即可开始部署
如出现错误,可以多尝试几次,待部署完成后页面底部会显示Your app was successfully deployed

  • 点击Manage App可在Settings下的Config Vars项查看和重新设置参数
  • 点击View跳转欢迎页面域名即为heroku分配的项目域名,格式为appname.herokuapp.com,客户端会用到此域名

客户端

  • 务必替换所有的appname.herokuapp.com为heroku分配的项目域名,按需替换其它自定义参数
v2ray
* 客户端下载:https://github.com/v2fly/v2ray-core/releases
* 代理协议:vless 或 vmess
* 地址:appname.herokuapp.com
* 端口:443
* 默认UUID:8f91b6a0-e8ee-11ea-adc1-0242ac120002
* 加密:none
* 传输协议:ws
* 伪装类型:none
* 路径:/vlesspath // 默认vless使用/vlesspath,vmess使用/vmesspath
* 底层传输安全: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": [
        "password"
    ],
    "websocket": {
        "enabled": true,
        "path": "/trojanpath",
        "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=/sspath
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:password@appname.herokuapp.com:443?path=/gostpath
brook
* 客户端下载:https://github.com/txthinking/brook/releases
* 选择Brook.exe下载运行,配置wsserver内容wss://appname.herokuapp.com:443/brookpath以及密码password
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)
        )
    }
)

更多来自热心网友PR的使用教程

About

License:Apache License 2.0


Languages

Language:Shell 56.8%Language:Dockerfile 43.2%