banner
年糕

年糕日记

此站为备份站点,最新文章请访问 oior.net
telegram
email

Proxy Setup - Heroku Edition

Preface#

Heroku no longer supports free accounts. This project is a combination of Xray core and supports the setup process and client configuration of vless-ws, vmess-ws, trojan-ws, shadowsocks-ws, and socks5-ws.

Preparation#

  • Heroku account (paid)
  • GitHub account
  • Cloudflare account

Setup#

  1. Fork the project --> Github
  2. Copy the link in the browser: https://dashboard.heroku.com/new?template= and add the project address link uploaded to GitHub. Press enter to enter the Heroku parameter setting page.
  3. Heroku app name and country can be arbitrary.
  4. UUID is a required field, other fields can be left unchanged. It is recommended to use tools like V2rayN to generate UUID. Click "Deploy app" and installation will be completed in a few seconds.
  5. If the Heroku local domain (app.heroku.com) shows a blank page, then it is successful.
  6. Go to Cloudflare, create a workers proxy, and modify the configuration to the proxy code of the GitHub page.
  7. Click "Send" and if it returns "200 OK", then it is successful.
  8. Proxy client configuration
For iOS, you can use Shadowrocket. For Android, it is recommended to use V2rayNG or Kitsunebi.

Protocol: (vless/vmess/trojan)-ws

Address: app.heroku.com (optional IP/domain)

Port: 443

User ID/Password: Custom UUID

Transport Protocol: ws

Disguise host: app.heroku.com (workers or pages proxy/custom domain)

Path: /CustomUUID-ProtocolFirstTwoLowercaseLetters

Transport Security: tls

SNI: app.heroku.com (workers or pages proxy/custom domain)

Other settings can be left as default!



For shadowsocks-ws and socks5-ws, it is recommended to use Kitsunebi, which has simple configuration and does not require plugin.

Protocol: (shadowsocks/socks5)-ws

Address: app.heroku.com (optional IP/domain)

Port: 443

Shadowsocks password: Custom UUID

Shadowsocks encryption method: chacha20-ietf-poly1305 (default)

Socks5 username: empty

Socks5 password: empty

Transport Protocol: ws

Disguise host: app.heroku.com (workers or pages proxy/custom domain)

Path: /CustomUUID-ProtocolFirstTwoLowercaseLetters

Transport Security: tls

SNI (Certificate Domain): app.heroku.com (workers or pages proxy/custom domain)

Other settings can be left as default!
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.