๐งฐ Requirements
Make sure you have:
- A working internet connection
networkmanagerandsystemdinstalled (default on most systems)
โ Step 1: Install Required Packages
๐ง For Arch Linux:
sudo pacman -S wireguard-tools wireguard-dkms networkmanager networkmanager-wireguard curl
๐ง For Debian/Ubuntu/Kali/Parrot:
sudo apt update -y
sudo apt install wireguard resolvconf curl -y
โ ๏ธ If
networkmanageris missing:
sudo apt install network-manager
๐ ๏ธ Step 2: Install wgcf (WARP Config Generator)
๐ง For Arch Linux:
sudo pacman -S wgcf
๐ง For Debian-based distros:
Download from wgcf GitHub Releases Then:
chmod +x wgcf_*_linux_amd64
sudo mv -v wgcf_*_linux_amd64 /usr/bin/wgcf
๐ฆ Step 3: Register WARP Account
wgcf register
This creates
wgcf-account.toml
๐ Step 4: Generate WireGuard Config
wgcf generate
This creates
wgcf-profile.conf
๐ชช Step 5: Move Config to System Directory
sudo mv -v wgcf-profile.conf /etc/wireguard/
๐ Step 6: Start and Stop WARP Tunnel
โ Start Tunnel:
sudo wg-quick up wgcf-profile
sudo wg-quick up ./wgcf-profile.conf ### if you are using custom file
โ If you get:
resolvconf: signature mismatch: /etc/resolv.conf
Fix it:
sudo resolvconf -u
and run again the Start Tunnel command:
sudo wg-quick up wgcf-profile
sudo wg-quick up ./wgcf-profile.conf ### if you are using custom file
โ Stop Tunnel:
sudo wg-quick down wgcf-profile
sudo wg-quick down ./wgcf-profile.conf ### if you are using custom file
๐งช Step 7: Test If WARP is Working
curl https://www.cloudflare.com/cdn-cgi/trace
Look for:
warp=on
If you see that line, WARP VPN is active โ
๐ Optional: Enable Auto Start on Boot
sudo systemctl enable wg-quick@wgcf-profile
โน๏ธ About This Guide
Cloudflare WARP VPN is free and gives fast reliable internet. Since Telegram is banned in Nepal and many students use it to download courses and materials, this guide helps you set up WARP on Arch Linux and Debian. If you are using any other distro, just install the same packages using your package manager or build from GitHub.
