Back to services

g3proxy

Enterprise-oriented Generic Proxy Solutions. Maintenance mode now, please switch to use [VEY](https://github.com/VEY-OSS/vey) for new development efforts

View alternatives to g3proxy
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The call to fetch the official website failed. This entry is written from known project information, so please refer to the official documentation for specific features and configuration.

Introduction

g3proxy is the core component of the G3 project. G3 is open-sourced by ByteDance and is used to build enterprise-grade network proxy and security infrastructure. Written in Rust on top of an asynchronous runtime, g3proxy emphasizes high performance, high configurability and observability, and is designed for large-scale production environments.

Key Features

  • Multi-protocol proxying: Supports HTTP/HTTPS forward proxy and SOCKS5 proxy, and can also do TCP port mapping and TLS stream forwarding.
  • Reverse proxy and SNI proxy: Can forward traffic based on TLS SNI or HTTP Host.
  • Transparent proxy: On Linux, it can transparently intercept traffic in cooperation with the system's networking capabilities.
  • Flexible egress routing (Escaper): Can connect directly to the egress, chain upstream proxies, and choose different egresses based on rules such as destination domain, IP or user.
  • TLS interception and content auditing: Supports TLS man-in-the-middle decryption and can integrate with ICAP services for content inspection.
  • User authentication and access control: Supports multi-user authentication and fine-grained policies such as ACLs, rate limiting and quotas.
  • Observability: Outputs detailed logs and monitoring metrics, for example in StatsD format, making it easy to plug into existing monitoring systems.

Target Users and Use Cases

  • Enterprise network and security teams that need to centrally manage outbound traffic from office networks or servers
  • Operations staff who need to schedule proxies across multiple egresses and lines
  • Scenarios that require auditing or security inspection of encrypted traffic
  • Developers who want high-performance, programmable proxy infrastructure

Core Strengths

  • Implemented in Rust, delivering both memory safety and high-concurrency performance
  • Modular design: components such as Server (ingress), Escaper (egress), Resolver (name resolution) and User Group (users) can be freely combined
  • Configuration uses YAML files with a clear structure, suitable for large-scale deployment
  • Released under the Apache-2.0 open-source license

Installation and Deployment

  • Can be built from source with Cargo, or installed using the packaging methods the project provides, such as Linux distribution packages
  • Primarily targets the Linux platform, and the service can be managed through systemd and similar tools
  • Comes with a companion command-line control tool for runtime management
  • For detailed configuration examples and parameter descriptions, see the official documentation: https://g3-project.readthedocs.io/projects/g3proxy/en/latest/

Worth Noting

g3proxy is positioned at the enterprise and infrastructure level. It has many configuration options and powerful capabilities, and the learning curve is relatively steep. Users who only need a simple personal proxy may want to consider a more lightweight tool.