یک اسکریپت قدرتمند و کاربردی برای تولید خودکار پیکربندیهای WARP با پشتیبانی از پروتکل WireGuard. این اسکریپت برای استفاده در Termux بهینهسازی شده و قابلیت تولید پیکربندی برای کلاینتهای مختلف VPN را دارد.
- AmneziaVPN با تنظیمات بهینه
- WireGuard (فرمت استاندارد)
- Hiddify (با پیکربندی JSON پیشرفته)
- V2RayNG (با قابلیتهای روتینگ پیشرفته)
- پشتیبانی از URL WireGuard
- پشتیبانی از IPv4 و IPv6
- تنظیم MTU سفارشی
- تولید خودکار حساب WARP
- پیکربندی DNS پیشرفته
- مدیریت Reserved Address
- بهینهسازی اتصال
- رابط کاربری تعاملی و رنگی
- نشانگر پیشرفت عملیات
- نصب دائمی با دستور
Arg
- ذخیره خودکار پیکربندیها
- مدیریت خطای هوشمند
- نصب Termux
- اتصال به اینترنت
- بسته
curl
(نصب خودکار)
bash <(curl -fsSL https://raw.githubusercontent.com/Argh94/Wg-script/main/Wg.sh)
- اجرای اسکریپت
- انتخاب گزینه 5
- استفاده با دستور
Arg
- دریافت نقطه پایانی IPv4
- دریافت نقطه پایانی IPv6
- تولید پیکربندی IPv4
- تولید پیکربندی IPv6
- نصب دائمی اسکریپت
- MTU قابل تنظیم (پیشفرض: 1280)
- نام سفارشی برای پیکربندی
- DNSهای Cloudflare
- IPv4: 1.1.1.1, 1.0.0.1
- IPv6: 2606:4700:4700::1111, 2606:4700:4700::1001
- پیکربندی AmneziaVPN
- پیکربندی WireGuard
- پیکربندی JSON برای Hiddify
- پیکربندی JSON برای V2RayNG
- URL WireGuard
- تولید کلید امن
- پیادهسازی Reserved Address
- پشتیبانی از MTU سفارشی
- مکانیزمهای ضد شناسایی
- تنظیمات مخفیسازی ترافیک
- روتینگ DNS سفارشی
- مسدودسازی تبلیغات
- قوانین روتینگ ویژه ایران
- پشتیبانی از پروتکلهای متعدد
- بهینهسازی ترافیک
- تولید بستههای جعلی
- اندازهگذاری سفارشی بستهها
- پیادهسازی تأخیر
- پشتیبانی از حالتهای مختلف
این پروژه تحت مجوز MIT منتشر شده است.
A powerful and versatile Bash script for generating WARP configurations across multiple platforms. This tool supports various VPN clients including WireGuard, AmneziaVPN, Hiddify, and V2RayNG.
-
Multiple Configuration Formats:
- WireGuard Standard Config
- AmneziaVPN Config
- Hiddify JSON Config
- V2RayNG JSON Config
- WireGuard URL Format
-
Advanced Functionality:
- IPv4 & IPv6 Endpoint Support
- Customizable MTU Settings
- Dynamic WARP Account Generation
- Reserved Address Management
- Custom DNS Configuration
- Automatic Account Registration
-
User Experience:
- Interactive CLI Interface
- Color-coded Output
- Progress Indicators
- Automatic Save Feature
- Permanent Installation Option
- Termux (Android) or Bash-compatible environment
- Internet connection
- curl package
curl -fsSL https://raw.githubusercontent.com/Argh94/Wg-script/main/Wg.sh -o warp.sh
chmod +x warp.sh
Run the script and select option 5 to install permanently. This will:
- Create a ~/.argh94 directory
- Add an 'Arg' command alias to your shell
- Set up auto-completion (if available)
- Basic Execution:
./warp.sh
- After Permanent Installation:
Arg
- Available Options:
1
- Get WARP IPv4 Endpoint2
- Get WARP IPv6 Endpoint3
- Generate IPv4 Config4
- Generate IPv6 Config5
- Install Script Permanentlyq
- Quit
- MTU Size: Customize the MTU value (default: 1280)
- Configuration Name: Set a custom name for your configs
- DNS Settings: Uses Cloudflare DNS by default
- IPv4: 1.1.1.1, 1.0.0.1
- IPv6: 2606:4700:4700::1111, 2606:4700:4700::1001
The script generates a comprehensive configuration file containing:
- AmneziaVPN Configuration
- WireGuard Configuration
- Hiddify JSON Configuration
- V2RayNG JSON Configuration
- WireGuard URL
Files are saved as: warp_config_YYYY-MM-DD_HH-MM-SS.txt
- Secure Key Generation
- Reserved Address Implementation
- Custom MTU Support
- Anti-Detection Mechanisms
- Traffic Obfuscation Settings
- Custom DNS Routing
- Ad Blocking Integration
- Iran-specific Routing Rules
- Multiple Protocol Support
- Traffic Optimization
- Fake Packet Generation
- Custom Packet Sizing
- Delay Implementation
- Multiple Mode Support
Contributions are welcome! Please feel free to submit pull requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: @Argh94
- Project Link: https://github.com/Argh94/Wg-script
- Cloudflare WARP
- WireGuard Project
- V2Ray Project
- AmneziaVPN Team
- Hiddify Project
Made with ❤️ by Argh94