EN

Platform UI is currently English-only. Other languages here track your preference for future translations.

Go to Home

v2-x

A high-performance proxy server built with FastAPI for secure tunneling and traffic management.

Overview

v2-x is a modern proxy solution that provides VLESS protocol support, WebSocket tunneling, and advanced traffic routing capabilities. The server is designed for reliable and efficient proxy operations with session-based authentication and real-time monitoring.

Key Features

  • VLESS Protocol Support - Implementation of VLESS proxy protocol for secure connections
  • WebSocket Tunneling - Efficient WebSocket-based traffic relay (websocket_tunnel)
  • Session Management - Token-based authentication with configurable TTL
  • Speed Limiting - Built-in traffic throttling and bandwidth management
  • Real-time Monitoring - Connection state tracking and performance metrics
  • HTTP/2 Support - Enhanced performance with HTTP/2 protocol support

Tech Stack

  • Framework: FastAPI 0.104.1
  • Server: Uvicorn with standard extensions
  • HTTP Client: HTTPX with HTTP/2 support
  • WebSockets: Native WebSocket support (v12.0)
  • File I/O: Async file operations with aiofiles
  • CORS: Full cross-origin resource sharing support

Architecture

├── main.py           # FastAPI application and routing
├── relay_vless.py    # VLESS protocol implementation
├── xhttp_siz10.py    # HTTP routing module
├── telegram_bot.py   # Bot integration
├── speed_limit.py    # Traffic throttling
├── state.py          # Application state management
└── pages.py          # Web interface

Quick Start

# Install dependencies
pip install -r requirements.txt

# Run the server
python main.py

The server includes session-based authentication, configurable connection limits (500 max connections, 100 keepalive), and 30-second request timeouts for optimal performance.

⚐ Report this project

Reconnecting to the server...

Reconnecting in sec.

Failed to reconnect.
The page will reload automatically.

Session paused by the server.

Failed to resume the session.
Reloading the page...