Skip to content

thekeyboardusers/cloudflare-warp-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 

Repository files navigation

πŸ“‘ Cloudflare WARP SSH Safe Setup

πŸ“Œ Overview

By installing Cloudflare WARP on our Linux server, we can route all traffic through the secure WARP tunnel. However, when you enable WARP while connected via SSH, the connection may drop. Preventing this is simple: exclude your own IP from the tunnel.


βš™οΈ Supported Systems

  • Ubuntu
  • Debian-based distributions

πŸš€ Installation

1️⃣ Add Cloudflare GPG key and repository

curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg &&
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list &&
sudo apt-get update && sudo apt-get install cloudflare-warp -y &&
warp-cli registration new &&
warp-cli mode warp+doh
      

2️⃣ Prevent SSH Disconnect (IMPORTANT)

Before enabling WARP, exclude your current access IP:

warp-cli tunnel ip add YOUR_HOME_IP_ADDRESS

Replace:

YOUR_HOME_IP_ADDRESS β†’ your actual public IP address

3️⃣ Connect WARP

warp-cli connect

πŸ“Š Check Status

warp-cli status

πŸ“š Official Documentation

https://developers.cloudflare.com/warp-client/get-started/linux/


πŸ§ͺ Example Use Cases

  • Secure outbound traffic on VPS
  • Hide origin IP
  • Add lightweight privacy layer
  • Combine with reverse proxies

πŸ“¬ Contact

Email: glitchbey@proton.me


✨ Credits

TKU (The Keyboard Users)
Β© 2026

About

A minimal and practical guide for installing and configuring Cloudflare WARP on Debian/Ubuntu servers, including a fix to prevent SSH disconnection by excluding your IP from the tunnel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages