amg
amg

Reputation: 95

Can't connect cloudflare warp vpn in linux

I installed and set up cloudflare warp in linux as cloudflare document.

After "start warp-svc.service" and do warp-cli connect successfully,

I check warp status in https://www.cloudflare.com/cdn-cgi/trace/:

warp=off

And I can't access to the blocked websites.

How to solve it? Thanks

Upvotes: 6

Views: 11004

Answers (3)

Joe
Joe

Reputation: 31

I came here because I faced the same issue in a Fedora Fresh install. After that, I spent an evening solving the problem. Thanks to chatGPT and DeepSeek, I discovered the issue, as Warp uses Wireguard. Ensure the kernel module is loaded

   sudo modprobe wireguard 
   lsmod | grep wireguard # Check if loaded

If not loaded above then install

    sudo dnf install cloudflare-warp

Key Dependencies to check

    sudo dnf install wireguard-tools

Final Test

    warp-cli status
    warp-cli connect
    curl https://www.cloudflare.com/cdn-cgi/trace/ | grep warp

If you see warp=on, it’s working!

Upvotes: 0

HaiN
HaiN

Reputation: 915

Let check your current status by the command:

warp-cli status

I'm guessing your warp status is: Registration missing :D

For me, I have to run register one more time:

warp-cli register

Now, you can connect successfully with the command:

warp-cli connect

Enjoy the connection!

Upvotes: 3

Huan Nguyen
Huan Nguyen

Reputation: 51

I think you disabled IPv6 before, I got the same problem with warp-cli after I disabled IPv6. You can re-enble it by:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.<your device>.disable_ipv6=0

Upvotes: 5

Related Questions