GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - VincentChanX/shadowsocks-over-websocket: 免费使用 Heroku 部署 shadowsocks

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
extensions
extensions
 
 
imgs
imgs
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.json
config.json
 
 
constants.js
constants.js
 
 
local.js
local.js
 
 
package.json
package.json
 
 
server.js
server.js
 
 
tcprelay.js
tcprelay.js
 
 

Repository files navigation

shadowsocks-over-websocket

基于 shadowsocks 协议的翻墙工具 , 可部署在 Heroku 平台上 , 实现免费科学上网

如何部署在 Heroku 平台上

1.准备工作

  • Heroku 注册
  • GitHub 注册

2.Fork 本项目 到个人账号下

1 进入 https://github.com/VincentChanX/shadowsocks-over-websocket 页面 ==> Fork


3.创建 Heroku 应用

2 登陆 Heroku 帐号,进入 Dashboard 页面 ==> Create New App ==> 输入 App Name ==> Create App


4.Heroku 帐号与 Github 帐号关联

3 进入 Deploy 页面 ==> 选择 Deployment Method 为 Github ==> Connect to GitHub


5.选择要关联的Github项目

4 选择GitHub帐号 ==> 查找shadowsocks-over-websocket ==> Connect


6.部署 master 分支

5


7.配置环境变量

6 Setting 页面 ==> Reveal Config Vars

需要配置 METHOD(加密方法),PASSWORD(密码,推荐使用aes-256-cfb),SERVER_ADDRESS(0.0.0.0) 三个环境变量,支持以下加密方法:

  • rc4
  • rc4-md5
  • table
  • bf-cfb
  • des-cfb
  • rc2-cfb
  • idea-cfb
  • seed-cfb
  • cast5-cfb
  • aes-128-cfb
  • aes-192-cfb
  • aes-256-cfb
  • camellia-256-cfb
  • camellia-192-cfb
  • camellia-128-cfb

启动客户端:

命令行启动:

  1. 安装 nodejs 和 git
  2. 执行 git clone https://github.com/VincentChanX/shadowsocks-over-websocket.git 命令
  3. 进到本项目目录,执行npm install 命令
  4. 执行 node local.js -s app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -p 80 命令,启动成功

Chrome 浏览器配置

  1. 下载 Chrome 浏览器插件 SwitchyOmega

  2. 安装 SwitchyOmega 插件:打开浏览器的扩展程序页面 chrome://extensions,把SwitchyOmega.crx文件拖放到浏览器扩展程序页面安装

  3. 新建情景模式 local-proxy,配置 SwitchyOmega :代理协议:SOCKS5 代理服务器:127.0.0.1 代理端口:1080,如下图: 7

  4. 配置 auto switch 情景模式,添加规则列表网址: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt 并更新情景模式,规则列表规则处的情景模式选中为上一步创建的 local-proxy ,配置如下图: 8

  5. 选中 auto switch 情景模式: 9

  6. 现在你就可以科学上网了

About

免费使用 Heroku 部署 shadowsocks

Resources

Readme
GPL-3.0 license
Activity

Stars

563 stars

Watchers

29 watching

Forks

1.4k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.