X4G is a self-hosted gateway for operating VLESS tunnels over WebSocket and two XHTTP transport modes. It also includes an internal HTTP proxy for clients that need a conventional proxy endpoint. A web dashboard displays service statistics, hourly traffic charts, live connections, activity records, and error logs. Administrators can create unlimited connection links with individual traffic quotas, bandwidth limits, expiration dates, ports, and simultaneous IP restrictions. Subscription groups combine multiple configurations into shareable public pages that can be protected with passwords and exported as QR codes. Persistent storage preserves configurations and usage data across deployments, while an optional Telegram bot provides remote management without opening the web panel.
Features
- VLESS tunneling over WebSocket and XHTTP
- Integrated HTTP proxy service
- Traffic statistics and live connection dashboard
- Per-link bandwidth, traffic, and expiration limits
- Password-protected subscription groups and QR codes
- Optional Telegram administration bot