CloudFlare Warp VPN for your SteamDeck (Updated 10/26/22)

I have found that while Cloudflare Warp isn’t a “True” vpn, it still works to bypass the wifi restrictions I typically encounter that prevent the Steam Deck (any every other device i own) from connecting to steam (and other services/sites).

Here are a few important disclaimers first:

  1. I am in no way responsible for what happens to your Steam Deck if you chose to follow these instructions.
  2. If you don’t know linux or what a vpn does… you really shouldn’t be screwing around with this anyway. Entering terminal commands willy nilly has the potential of breaking or even bricking your Steam Deck.
  3. Cloudflare is not a REAL vpn and doesn’t completely encrypt your web traffic or hide your IP address. Do not rely on it per privacy. The use-case i’m providing it for is EXCLUSIVELY for bypassing wifi restrictions for steam services. Not to mention this is a free service and any free vpn should never be trusted to provide privacy or anonymity.
  4. Cloudflare Warp may slow down your internet connection on the Steam Deck while it is connected. This is normal.
  5. The method i’m about to show you will only work through Konsole. There is no GUI component. This means you need to use terminal commands to turn the service on and off. (There is an auto-connect command though that you can trigger, i will include the command for it at the bottom of the guide)

If you’ve read through all of that and have considered all of the warnings I’ve provided then here are the instructions for you to move forward.

First you need to set a password otherwise this may not work. If you have already done this then skip the first step.

In Terminal enter the following: passwd

Enter a password that you will remember. Done with that.

Now enter the following commands one at a time:

sudo steamos-readonly disable

sudo pacman-key --init

sudo pacman-key --populate archlinux

sudo pacman-key --refresh-keys

sudo pacman -Syu

sudo pacman -S base-devel

yay -S cloudflare-warp-bin

sudo systemctl start warp-svc

warp-cli register

warp-cli connect

warp-cli set-mode warp+doh

Now You should be connected. To test this enter the following command

curl https://www.cloudflare.com/cdn-cgi/trace/

then verify that toward the bottom of the list it says Warp=on.

You’re officially done but here are a few bonus commands that you can use if you need them

warp-cli enable-always-on To automatically turn Warp on

warp-cli disable-always-on To turn off the above function

warp-cli disconnect To disconnect

warp-cli --help For additional commands

Once again I take no responsibility for what you do with the information provided. It worked for me and if done correctly it will work for you. I wish you all the very best of luck. Game on!

I love finding posts like these, despite being months old it still works great! I totally didn’t know that the deck’s rootfs was read-only by default!

Whats even better is that since I use cloudflare on my desktop computer as well, I made a nice little enable/disable bash scrip that can toggle the vpn straight from the desktop. I’ll leave it below.

#!/bin/bash

# Prompt the user to choose an option

echo "Choose an option:"

echo "1) Enable"

echo "2) Disable"

echo "3) Check Status"

read -p "Enter your choice (1-3): " choice

# Enable or disable the connection based on the user's choice

if [[ "$choice" == "1" ]]

then

warp-cli connect

warp-cli set-mode warp+doh

elif [[ "$choice" == "2" ]]

then

warp-cli disconnect

elif [[ "$choice" == "3" ]]

then

warp-cli network

warp-cli status

else

echo "Invalid option."

fi

Thank you for your good work solider!

I got stuck after this line:
sudo pacman-key --refresh-keys
The process seemed to be cycling through something after each failed attempt and dragged on for far too long.

Firstly this is a great write up. I’ve been using Cloudflare Warp and tunnels to access my game library remotely via SMB share. After the last steam deck update I ran into several issues though and you’re the only person I can find with a similar set up as me. After updating steam deck to 3.4.1 it seems SteamOS deleted PacMan and Cloudflare Warp. I went back to follow these steps again but began receiving errors. It seems SteamOS may have left residual files or cache entries somewhere that are making the OS think that things are still installed. When I get to “yay -S cloudflare-warp-bin it fails warning that the yay command doesn’t exist. When I try to install it though I get a fatal error building the package. Are you experiencing any similar problems after update?

Surprised it still works. I updated it last month because it stopped working since Valve removed certain dependencies in Linux.

https://www.reddit.com/r/SteamDeck/comments/10yyjw8/cloudflare_warp_vpn_for_your_steamdeck_updated/

I made it to this line:

sudo pacman -S base-devel

however, it says that the files are corrupted or invalid and asks if I want to delete them.

Update: I was able to get it installed using your other guide. Never was able to get yay working again but -Syu worked to install cloudflare

oh i just added the chaotic-aur repository to the deck - maybe thats why lmao