socks5-rs

Crates.iosocks5-rs
lib.rssocks5-rs
version1.0.0
created_at2020-09-21 12:36:43.858743+00
updated_at2025-04-09 05:44:43.024889+00
descriptionA lightweight and fast socks5 server
homepage
repositoryhttps://github.com/WANG-lp/socks5-rs
max_upload_size
id291141
size42,173
Lipeng (William) Wang (WANG-lp)

documentation

README

Build

socks5-rs

A lightweight and fast socks5 server written in Rust

Fully async I/O with Tokio!

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

Support CONNECT.

NOTE: UDP Associate is not suppoert by 1.0.0

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

Commit count: 23

cargo fmt