Notice : This instruction will used unofficial CLI for Cloudflare Warp
If you have an arm based PC like Raspberry Pi, OrangePi, etc and need to use cloudflare warp 1.1.1.1 service, currently there is no warp package for arm arch. Here I'll show how to use warp with unofficial CLI for CLoudflare Warp called wgcf and wireguard package as open-source VPN tunnel software.
get wgcf here => https://github.com/ViRb3/wgcf/releases
ubuntu/debian => apt install wireguard
- Download wgcf and make sure to get the supported architecture. Here I get wgcf_2.2.15_linux_arm64 for my Raspberry Pi 4.
- Rename the downloaded file with preferred name for easy usage. Here I rename it as wgcf. [optional]
- Make it executable with
chmod +x wgcf - Copy it to /usr/local/bin to make it executable anywhere (global accessible).
cp wgcf /usr/local/bin - Register cloudflare warp account
wgcf register. The new account will be saved under wgcf-account.toml - Generate wireguard profile with
wgcf generate. The WireGuard profile will be saved under wgcf-profile.conf.
- Create wireguard directory =>
mkdir /etc/wireguard/ chmod 700 /etc/wireguard/- Copy wgcf-profile.conf file to /etc/wireguard =>
cp wgcf-profile.conf /etc/wireguard - Start connection with warp from the client =>
wg-quick up wgcf-profile - [optional] If you get error
resolvconf: command not foundthen you can install openresolv =>apt install openresolvand then re-runwg-quick up wgcf-profile
You can disconnect with wg-quick down wgcf-profile
- inspect the wireguard device created =>
sudo wg show - display the IP address of an outgoing connection. You should see here the IP address of your server =>
curl ipinfo.io