该介绍目前仅提供英文版本。
A comprehensive eight-in-one script for setting up Xray, Tuic, Hysteria2, and sing-box proxy services
Overview
v2ray-agent is a powerful shell script that simplifies the installation and management of various proxy protocols through a user-friendly command-line interface. It combines multiple core technologies (Xray-core and sing-box) to offer a wide range of protocol options, making it suitable for different network environments and needs.
Key Features
- ✨ Multiple Core Support: Uses both Xray-core and sing-box for optimal performance
- 🔒 TLS Encryption: All protocols utilize TLS for secure communications
- 🧩 Protocol Variety: Supports VLESS, VMess, Trojan, Hysteria2, Tuic, and NaiveProxy
- 🔄 Transport Methods: Multiple transport options including Reality, Vision, WebSocket, gRPC, and more
- 📃 Certificate Management: Automatic application and renewal of regular and wildcard certificates
- 📊 Subscription Management: Supports subscription generation, including multi-VPS combinations
- 🔌 Flexible Installation: Install individual protocols based on your specific needs
- 🛰️ CDN Integration: Batch CDN node addition with ClashMeta automatic optimization
- 🔍 Traffic Management: BT download management and domain blacklist controls
Supported Protocols
Xray-core Based
- VLESS (Reality, Vision(TCP), WS, gRPC, XHTTP)
- VMess (TCP, WS, HTTPUpgrade)
- Trojan (TCP, gRPC)
sing-box Based
- Hysteria2
- Tuic
- NaiveProxy
Quick Installation
Install the script with a single command:
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
After installation, you can quickly access the script by typing vasma in the terminal.
Usage Scenarios
- Personal Privacy Protection: Create secure tunnels for your internet traffic
- Access Global Content: Bypass network restrictions with high-performance protocols
- Network Optimization: Use specialized protocols like Hysteria2 for challenging network conditions
- Multi-user Management: Set up and manage multiple users with different protocols
Advanced Features
- No-Domain Setup: Configure VLESS Reality without requiring a domain
- Traffic Splitting: Various traffic splitting options for unlocking services
- CDN Acceleration: Batch add CDN nodes with automatic optimization
- Core Management: Upgrade or downgrade core components as needed
- Website Customization: Change the disguise website based on your preferences
- Port Management: Batch add new ports for added flexibility
System Requirements
- Supported Operating Systems: Debian/Ubuntu/CentOS
- Required Memory: Minimal (512MB RAM is sufficient)
- Network: Public IPv4 address (IPv6 optional but supported)
License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
Note: This tool is for educational purposes and personal use. Always comply with local laws and regulations when using proxy services.