g3proxy
Self-HostedOpen-source high-performance reverse proxy & load balancer
Overview
g3proxy is an open-source reverse proxy and load balancer built for flexibility and speed. It handles TCP/UDP traffic, supports round-robin/least connections load balancing, backend health checks, TLS termination, and custom routing rules. Configurable via YAML, it deploys easily with Docker containers or binary installations, making it ideal for self-hosted environments managing web apps, APIs, or microservices to ensure reliable traffic distribution.
Self-Hosting Resources
Below is a reference structure for docker-compose.yml.
⚠️ Do NOT run blindly. Replace placeholders with official values.
version: '3'
services:
g3proxy:
image: <OFFICIAL_IMAGE_NAME>:latest
container_name: g3proxy
ports:
- "8080:<APP_INTERNAL_PORT>"
volumes:
- ./data:/app/data
restart: unless-stopped Key Features
- TCP/UDP traffic proxying
- Multiple load balancing algorithms
- Backend health checks & TLS termination
- YAML-based configuration
- Docker deployment support
Frequently Asked Questions
? Is g3proxy hard to install?
No—g3proxy can be set up via pre-built binaries or Docker containers. For Docker, a simple run command with a mounted YAML config file works. Basic networking skills help, but the process is straightforward for most self-hosted users.
? Is it a good alternative to Cloudflare Reverse Proxy?
Yes—if you want full control over your proxy infrastructure. Unlike Cloudflare (cloud-based), g3proxy runs on your servers, ensuring privacy and no third-party dependency. It lacks Cloudflare’s CDN/DDoS features but excels at self-hosted traffic management.
? Is it completely free?
Yes—g3proxy is open-source under an MIT-like license (check the GitHub repo for exact terms). There are no paid tiers or hidden costs; it’s free for personal and commercial use.
Top Alternatives
People Also Ask about g3proxy
Tool Info
Pros
- ⊕ Open-source & free to use
- ⊕ High performance for heavy traffic loads
- ⊕ Flexible routing & protocol support
Cons
- ⊖ No graphical interface (YAML-only config)
- ⊖ Requires basic networking knowledge
- ⊖ Less community documentation than mature tools like Nginx