Created
March 2, 2026 17:24
-
-
Save cmbaughman/963ca9d0af74e85982400490d4589fe4 to your computer and use it in GitHub Desktop.
Various Stuff for Cloudflare Warp CLI I need from time to time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # INSTALL | |
| # ======= | |
| # Add Cloudflare's gpg key | |
| curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg | |
| # Add the repository | |
| 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 | |
| # Install | |
| sudo apt update && sudo apt install cloudflare-warp | |
| ## CONFIG/USAGE | |
| # ============= | |
| # Set to use SOCKS5 mode | |
| warp-cli mode proxy | |
| warp-cli connect | |
| # Making wget use the proxy | |
| wget -e use_proxy=yes -e http_proxy=127.0.0.1:40000 http://filtered_domain.com | |
| ## THAT'S PRETTY MUCH IT. HAVE YOUR SCRIPT TURN THAT ON AND MAKE ALL REQUESTS WITH THIS PROXY. | |
| ## | |
| ## YOU CAN ALSO USE FLAREPROX - https://github.com/MrTurvey/flareprox AND KEEP CHANGING YOUR IP | |
| ## FOR EVERY REQUEST. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment