Git Product home page Git Product logo

shadowsocks-dotcloud's Introduction

shadowsocks-dotcloud

Build Status

shadowsocks-dotcloud is a lightweight tunnel proxy which can help you get through firewalls. It is a port of shadowsocks, but through a different protocol.

shadowsocks-dotcloud uses WebSockets instead of raw sockets, so it can be deployed on dotcloud.

Notice that the protocol is INCOMPATIBLE with the origin shadowsocks.

usage

Sign up for dotcloud.

Install dotcloud CLI.

Put the code somewhere, for example shadowsocks-dotcloud/. Edit shadowsocks/config.json, change the following values:

server          your server hostname, for example, shadowsocks-YOURUSERNAME.dotcloud.com
local_port      local port
password        a password used to encrypt transfer
timeout         in seconds
method          encryption method, null by default, or use "rc4"

Upload the code. You can choose your own app name other than shadowsocks. You'll see your hostname at the end.

$ dotcloud create shadowsocks
Created application "shadowsocks" using the flavor "sandbox"
...
$ dotcloud push --application shadowsocks shadowsocks-dotcloud/
# upload shadowsocks-dotcloud/ ssh://[email protected]:443/shadowsocks
...
Deployment finished. Your application is available at the following URLs
www: http://shadowsocks-YOURUSERNAME.dotcloud.com/

Open terminal, cd into shadowsocks, run node local.js.

Change proxy settings of your browser into

SOCKS5 127.0.0.1:local_port

troubleshooting

If there is something wrong, you can check the logs by:

$ dotcloud logs www --application shadowsocks

shadowsocks-dotcloud's People

Contributors

clowwindy avatar librehat avatar

Watchers

Endrigo Antonini 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.