Skip to content

SOCKS PROXY PLATFORM

RustSocks

A high-performance SOCKS4/4a/5 proxy written in Rust, with fine-grained access control, dynamic policies, session tracking, QoS, Prometheus metrics and a web dashboard.

Get started Configuration GitHub

SOCKS4 / 4a / 5 TLS & mTLS ACL & policies Prometheus Redis-shared limits Docker

What you get

  • Secure by design


    Username/password, PAM, GSS-API/Kerberos and mutual TLS. Failed logins are throttled per address, connections are limited per client, and the API fails closed.

    Authentication

  • Policies, not just rules


    Schedules, source networks, authentication method, connection limits and transfer quotas, with a monitor mode and an Explain simulator.

    Policy engine

  • Observable


    Prometheus metrics for decisions, admission denials and failed logins, plus an audit log of every state-changing API request.

    Metrics & audit log

  • Scales out


    Share limits and quotas between instances through Redis. Ship it with the hardened Docker image and Compose file.

    Docker deployment

  • Web dashboard


    Live sessions, ACL and policy editing, users and groups, telemetry and SMTP alerts, with role-based access.

    Dashboard overview

  • Fast


    Async Rust on Tokio. A policy decision takes microseconds even with hundreds of rules, and connection pooling reuses upstream sockets.

    Architecture

Start here

  1. Install and run: Quick Start builds the server and runs it with a sample configuration.
  2. Configure it: the rustsocks.toml reference documents every option, and acl.toml covers access rules.
  3. Open the dashboard: Dashboard overview, then authentication to set up logins and roles.
  4. See it in practice: Common scenarios.

Documentation map

Section What you will find
Getting Started Build, run, Docker and first-time setup
UI & Dashboard Pages, workflows, authentication and SMTP alerts
Configuration Full TOML reference, ACL rules and the policy engine
Guides Base path deployment, LDAP and Active Directory, testing, metrics and audit
Technical Architecture, ACL engine, connection pool, protocol and TLS, PAM, sessions
References Project README, developer guide and load testing manual