#socks5

app socks5-rs

A lightweight and fast socks5 server

6 releases

0.2.5 Oct 13, 2020
0.2.4 Sep 25, 2020

#32 in #socks5

MIT license

22KB
383 lines

Build

socks5-rs

A lightweight and fast socks5 server written in Rust

Fully async I/O with Rust async-std!

Recommend to use it in a trusted network (e.g., with wireguard).

Support CONNECT and UDP Associate.

Compiling

install Rust toolchain: click here to install Rust

From crates.io

cargo install socks5-rs

From source

git clone git@github.com:WANG-lp/socks5-rs.git
cd socks5-rs
cargo build --release

Usage

./target/release/socks5-rs -h

Socks5 server in Rust 1.0
Lipeng (wang.lp@outlook.com)
A simple socks5 server

USAGE:
    socks5-rs [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -b, --bind <BIND_ADDR>    bind address
    -p, --port <BIND_PORT>    bind port

Example: ./target/release/socks5-rs -b 0.0.0.0 -p 8080

Dependencies

~11–21MB
~300K SLoC