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
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.
-
Policies, not just rules
Schedules, source networks, authentication method, connection limits and transfer quotas, with a monitor mode and an Explain simulator.
-
Observable
Prometheus metrics for decisions, admission denials and failed logins, plus an audit log of every state-changing API request.
-
Scales out
Share limits and quotas between instances through Redis. Ship it with the hardened Docker image and Compose file.
-
Web dashboard
Live sessions, ACL and policy editing, users and groups, telemetry and SMTP alerts, with role-based access.
-
Fast
Async Rust on Tokio. A policy decision takes microseconds even with hundreds of rules, and connection pooling reuses upstream sockets.
Start here¶
- Install and run: Quick Start builds the server and runs it with a sample configuration.
- Configure it: the
rustsocks.tomlreference documents every option, andacl.tomlcovers access rules. - Open the dashboard: Dashboard overview, then authentication to set up logins and roles.
- 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 |