Using Cloudflare Warp on Linux
Posted on February 9, 2021 • 1 minutes • 124 words
Cloudflare Warp is currently not supporting Linux. However, since it’s just Wireguard underneath, we can still use it unofficially.
Install wgcf and wireguard-tools
- Get
wgcf
from its repo . - Install
wireguard-tools
. I use Manjaro so I will use pacman for thispacman -S wireguard-tools
.
Generate Wireguard config
You can now use wgcf
to register, and then generate Wireguard config.
wgcf register
wgcf generate
register
command will create a file namedwgcf-account.toml
.generate
command will generate wireguard config file namedwgcf-profile.conf
.
Usage
Now, copy the generated profile over to /etc/wireguard
and use wg-quick
utility to simplify setting wireguard interface.
sudo cp wgcf-profile.conf /etc/wireguard
wg-quick up wgcf-profile
Verify it’s working with wgcf trace
or navigate to this page: https://www.cloudflare.com/cdn-cgi/trace
. The output should have warp: on
.