Kabie / shadowsocks

A ShadowSocks server implemented in Elixir
12 stars 4 forks source link

ShadowSocks

A ShadowSocks server implemented in Elixir

This is only a server. You still need a client

Usage

Simple run:

$ mix run --no-halt

# or in console
$ iex -S mix

Make a package:

$ mix deps.get
$ MIX_ENV=prod mix release --env=prod
$ cd rel/shadowsocks
$ bin/shadowsocks start

See also: distillery

Configuration

Config Name Default value
port SHADOW_PORT 8388
password SHADOW_PASS "password"

You can do config while:

# releasing
$ SHADOW_PORT=8388 MIX_ENV=prod mix release --env=prod

# or running
$ SHADOW_PASS=mypass bin/shadowsocks start

Limitation

TODO