WireGuard-Generator is a high-performance Python utility designed to generate secure, single-peer WireGuard configurations with dynamic IP masking.
This tool simplifies the process of creating privacy-focused tunnels by automatically selecting endpoints from trusted, high-performance IP ranges (such as ArvanCloud and Cloudflare). This effectively obfuscates traffic, making your tunnel traffic appear as standard HTTPS traffic to bypass restrictions and enhance anonymity.
- π Automated Key Generation: Utilizes native
wgtools to generate cryptographically secure key pairs instantly. - π Traffic Obfuscation: Dynamically selects server endpoints from trusted IP ranges to mask tunnel traffic.
- β‘ Optimized Performance: Generates single-peer configurations for maximum speed and minimal latency.
- π± Cross-Platform: Fully compatible with Linux (Ubuntu/Debian) and Android (Termux).
- π¦ Zero Dependencies: Relies solely on standard Python libraries and system
wireguard-tools.
- Python 3.6+
- WireGuard Tools installed on the host system.
- Important Notes for Termux: Permissions: If you choose to save to /sdcard/Download, you must run termux-setup-storage first and grant permission.
For Android (Termux):
pkg update && pkg install wireguard-tools
termux-setup-storage
pkg install python
curl -O https://raw.githubusercontent.com/AyhanMansur/Wiregurd-Generator-Termux/refs/heads/main/WGAyhan.py
python3 WGAyhan.py