Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrluanma/shadowsocks-heroku
shadowsocks over WebSocket, support Heroku.
https://github.com/mrluanma/shadowsocks-heroku
Last synced: about 1 month ago
JSON representation
shadowsocks over WebSocket, support Heroku.
- Host: GitHub
- URL: https://github.com/mrluanma/shadowsocks-heroku
- Owner: mrluanma
- License: mit
- Fork: true (shadowsocks/shadowsocks-dotcloud)
- Created: 2014-03-21T06:47:18.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T00:16:15.000Z (9 months ago)
- Last Synced: 2024-08-01T09:25:07.350Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 250 KB
- Stars: 553
- Watchers: 41
- Forks: 469
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **523**星
README
# shadowsocks-heroku
shadowsocks-heroku is a lightweight tunnel proxy which can help you get through firewalls. It is a port of [shadowsocks](https://github.com/clowwindy/shadowsocks), but through a different protocol.
shadowsocks-heroku uses WebSocket instead of raw sockets, so it can be deployed on [Heroku](https://www.heroku.com/).
Notice that the protocol is INCOMPATIBLE with shadowsocks.
## Heroku
### Usage
```
$ heroku create
Creating still-tor-8707... done, stack is cedar-14
http://still-tor-8707.herokuapp.com/ | [email protected]:still-tor-8707.git
```Push the code to Heroku.
```
$ git push heroku master
…
-----> Compressing... done, 5.1MB
-----> Launching... done, v3
http://still-tor-8707.herokuapp.com/ deployed to HerokuTo [email protected]:still-tor-8707.git
* [new branch] master -> master
```Set a few configs:
```
$ heroku config:set METHOD=aes-128-cfb KEY=foobar
Setting config vars and restarting still-tor-8707... done, v11
KEY: foobar
METHOD: aes-128-cfb
```Install project dependencies with `npm install`:
```
$ npm install
…
```Then run:
```
$ node local.js -s ws://still-tor-8707.herokuapp.com -l 1080 -m aes-128-cfb -k foobar -r 80
server listening at { address: '127.0.0.1', family: 'IPv4', port: 1080 }
```Change proxy settings of your browser into:
```
SOCKS5 127.0.0.1:1080
```### Troubleshooting
If there is something wrong, you can check the logs by:
```
$ heroku logs -t --app still-tor-8707
```## Supported Ciphers
- aes-128-cfb
- aes-192-cfb
- aes-256-cfb
- camellia-128-cfb
- camellia-192-cfb
- camellia-256-cfb