๐Ÿงฐ Requirements

Make sure you have:

  • A working internet connection
  • networkmanager and systemd installed (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 networkmanager is 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.