An unofficial shadowsocks implementation that can work with official shadowsocks.
Start a server listening on port 5421 using chacha20-ietf-poly1305
AEAD cipher with password ocfbnj
.
~~~bash RUST_LOG=info ss-rs -s 0.0.0.0:5421 -k ocfbnj -m chacha20-ietf-poly1305 ~~~
Start a client connecting to the ocfbnj.cn
.
The client listens on port 1080 for incoming SOCKS5 connections and uses chacha20-ietf-poly1305
AEAD cipher with password ocfbnj
.
~~~bash RUST_LOG=info ss-rs -s ocfbnj.cn:5421 -l localhost:1080 -k ocfbnj -m chacha20-ietf-poly1305 ~~~
Clone
~~~bash git clone https://github.com/ocfbnj/ss-rs cd ss-rs ~~~
Build
~~~bash cargo b --release ~~~
Now you can find the binary in ./target/release/ss-rs
.