Giter Club home page Giter Club logo

shadowsocksr-live-ssr2heroku's Introduction

SSR2HeroKu

稀缺资源,请勿滥用,日常使用中观看视频时请采用 144P 分辨率,否则一旦 Heroku 发飙大家都没得用,You know?

快速部署

https://heroku.com 网站上注册账号,登录,准备就绪后,点击这个 Deploy to Heroku 按钮链接。

在随后出现的页面上按提示输入 应用名称,以及 ${APP_SITE}, ${PASSWORD}, ${SECRET_PATH} 这三个变量的值,再点击下部的 Deploy app 按钮就将 SSRoT 服务端最新版本部署在 heroku 的 docker 容器上了。

部署应用的页面像下面这个样子。

image

客户端下载地址

https://github.com/ShadowsocksR-Live/shadowsocksr-native/wiki/%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%94%A8%E6%B3%95

客户端配置文件 config.json

部署完毕,将以下文件中的 ${PASSWORD} 和两个 ${APP_SITE}${SECRET_PATH} 替换成你的值就可以用于客户端了。

{
    "password": "${PASSWORD}",
    "method": "aes-128-ctr",
    "protocol": "origin",
    "protocol_param": "",
    "obfs": "plain",
    "obfs_param": "",

    "udp": true,
    "idle_timeout": 300,
    "connect_timeout": 6,
    "udp_timeout": 6,

    "server_settings": {
        "listen_address": "0.0.0.0",
        "listen_port": 80
    },

    "client_settings": {
        "server": "${APP_SITE}",
        "server_port": 443,
        "listen_address": "0.0.0.0",
        "listen_port": 1080
    },

    "over_tls_settings": {
        "enable": true,
        "server_domain": "${APP_SITE}",
        "path": "/${SECRET_PATH}/",
        "root_cert_file": ""
    }
}

在具体应用页面,点击 More -> Run console 可以打开一个简易控制台窗口,通过该窗口输入命令

echo password=${PASSWORD}, port=${PORT}, path=${SECRET_PATH}, site=${APP_SITE}

找回关键参数时,会发现 PORT 值会随机变化,其它的就是你的预设值,不会变。

shadowsocksr-live-ssr2heroku's People

Contributors

ssrlive avatar gauravagarwal96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.