提醒: 滥用可能导致账户就被BAN!!!
-
变量 METHOD 如不需要,保持默认留空即可
-
完成部署后,打开app ,显示404 page not found,表示部署成功
- v2ray ws tls:
{
"protocol": "socks",
"tag": "herokuapp",
"settings": {"servers": [{"address": "xxxxxxxxx.herokuapp.com": 443}]},
"streamSettings": {"network": "ws","security": "tls","tlsSettings": {"allowInsecure": false,"serverName": "xxxxxxxxx.herokuapp.com"},"wsSettings": {"path": "/ws","headers": {"Host": "xxxxxxxxx.herokuapp.com"}}}
}
- gost -L=:1080 -F=socks5+wss://xxxxxxxxx.herokuapp.com:443
- 参考IBMYes项目的这里,修改
url.hostname
为app分配到的xxxxxxxxx.herokuapp.com
默认是空值,运行方式即为:/usr/local/bin/gost -L socks5+ws://:$PORT
已可以满足大部分需求,之所以加入这个是方便自己进行流媒体分流
假如有一个能解锁流媒体的VPS运行着SS服务,只需要修改变量METHOD下面的值,即可分流Netflix流量到VPS的SS服务器:
-F=ss://AEAD_CHACHA20_POLY1305:password@server_ip:833?bypass=~*.btstatic.com,*.netflix.com,*.netflix.net,*.nflxext.com,*.nflximg.com,*.nflximg.net,*.nflxsearch.net,*.nflxso.net,*.nflxvideo.net
更多自定义使用方式参考 https://github.com/ginuerzh/gost/ https://docs.ginuerzh.xyz/gost/
尝试把-L socks5+ws://:$PORT
包括到METHOD内,就会导致部署失败