Skip to content

ShadowsocksR-Live/ssr2heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSR2HeroKu

最後更新:

經過測試,GFW 已經 牆掉 所有 [your app name].herokuapp.com 網址,因此,本項目(SSR2HeroKu)在中國大陸已不再可用,本項目宣告死亡,不再更新。R.I.P.

C:>tracert mygoodsite.herokuapp.com

Tracing route to mygoodsite.herokuapp.com [123.45.67.89]
over a maximum of 30 hops:

  1     4 ms     4 ms     6 ms  192.168.24.1
  2     *        *        *     Request timed out.
...
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.

Trace complete.

快速部署

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,

    "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}, path=${SECRET_PATH}, site=${APP_SITE}

找回关键参数时,会发现它們就是你的预设值。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published