X4G is a modern Python gateway for VLESS tunneling over WebSocket and XHTTP protocols, featuring a beautiful dashboard, Telegram bot management, and advanced traffic limiting capabilities.
Looking for a powerful, flexible solution to manage VLESS proxy configurations with granular control over traffic, speed, and access? This gateway offers everything from real-time dashboards to Telegram-based administration.
X4G is a high-performance Python gateway designed for managing VLESS proxy tunnels. Think of it as a traffic control center for your proxy infrastructure - it handles the complex routing of network data while giving you fine-grained control over how that data flows. The project supports multiple transport protocols including WebSocket and XHTTP variants, making it adaptable to different network environments and censorship scenarios.
Beyond basic tunneling, X4G provides a comprehensive web dashboard for monitoring connections, tracking bandwidth usage, and managing configurations in real-time. What sets it apart is its optional Telegram bot integration, allowing administrators to manage proxy links, view statistics, and control access without ever opening a web browser. The system stores all configuration data persistently, ensuring settings survive server restarts when properly configured.
Developers and system administrators can leverage X4G to build sophisticated proxy solutions for various scenarios:
Common use cases include managing proxy services for small teams, creating tiered subscription offerings with different bandwidth limits, or building censorship-resistant communication channels for content distribution.
With over 3,400 stars, X4G has gained significant traction in the proxy management space. Several factors contribute to its popularity: the combination of technical sophistication with user-friendly features, the Telegram bot integration that enables mobile-first administration, and the flexibility to run on modern cloud platforms like Railway with minimal setup.
The project stands out because it bridges the gap between enterprise-grade proxy management and accessibility for individual users. While many solutions require deep networking knowledge and manual configuration, X4G provides an intuitive dashboard alongside powerful automation features. The ability to create unlimited custom links with individual traffic and speed limits addresses a common pain point for proxy operators who need to share resources fairly.
Community adoption has been driven by the project's active development and responsive maintainer, with users appreciating the balance between advanced customization options and straightforward deployment processes. The QR code generation and subscription grouping features particularly resonate with users managing multiple client devices.
X4G targets system administrators, DevOps engineers, and technically-minded users who need reliable proxy management with advanced controls. Basic familiarity with proxy protocols (VLESS, WebSocket) and cloud deployment concepts is helpful but not strictly required thanks to the guided setup process.
The tool fits well in containerization environments, particularly Docker and Railway deployments. It's ideal for users who want more control than typical one-click proxy solutions provide, but don't want to build everything from scratch. The Telegram bot integration makes it especially appealing to administrators who prefer mobile management workflows.
While the interface is in Persian, the core functionality is universal, and the project's popularity suggests an active international user base. Documentation appears sufficient for intermediate users, with the GitHub README providing clear deployment instructions.
Deploying X4G is straightforward with these steps:
/data to preserve configuration data across restartshttps://your-app.up.railway.app/dashboardFor the full setup guide, see the official repository.