shadowsocks lightweight implementation(server side)
a proxy tool written in rust.
build
&&
usage
run with config.toml:
= "123456"
= "aes-256-gcm"
= "0.0.0.0"
= 6789
= 2000 # ms, timeout for tcp proxy handshake and tcp connect
= "info" # error warn info debug trace
= true
# file_log_dir = "applog/" # if no set, don't log to file
= 1000 # udp relay worker pool size, one proxy req one worker
= 30 # sec, expiration time for udp relay worker keep alive
# [plugin]
# name = "v2ray-plugin"
# opts = "server"
# args = []
or override config with:
if without -c, default config file is $pwd/config.toml
more usage:
quick start with docker
tips: use
<ctrl-p><ctrl-q>exit container but keep it runningv2ray-plugin are recommended
start with default config but specify password:
or start with custom config file:
- create new config dir in home then add
config.tomlfile:mkdir $HOME/.ss-light && cd $HOME/.ss-light touch config.toml - edit
config.tomllike here - run docker:
use v2ray-plugin: (websocket)
docker run --rm -it -p 8888:6789/tcp -p 8888:6789/udp kirito41dd/ss-light -k passwd123 --plugin v2ray-plugin --plugin-opts server
use other SIP003 plugins:
- like start with custom config file, download plugin to
$HOME/.ss-light - start
docker run --rm -it -v $HOME/.ss-light:/app -p 8888:6789/tcp -p 8888:6789/udp kirito41dd/ss-light --plugin=/app/<your-plugin>
feature
- Shadowsocks AEAD
- AES_256_GCM
- TCP relay
- UDP relay
- Plugin
- v2ray-plugin