# Getting started with Cloudflare warp

Cloudflare Warp is a free VPN-like service ran by Cloudflare. With the WireGuard protocol as its base, it aims to provide a faster internet wo everyone by optimizing the network routes that its users use while connecting to different resources. It is also a valueble tool for VPSes - allowing single-stack servers to become dual stack, unlocking access to media in different regions (ie - netflix, disney plus, etc) and protects your VPS's ip address.
The fact that this is a free service is quite astonishing for all the opportunities that this allows - no longer do hosting websites require a server with expensive IPv4 addresses (which - is actually the majority of the costs associated for a server provider to provide a server), as all clients with IPv4 only connections can have their traffic routed via another free cloudflare product - Cloudflare CDN. In all, this is a great product and in this tutorial we will explore its uses.
# Installing Cloudflare Warp on VPS
Cloudflare Warp offers a convenient way for non dual-stack VPS to access content otherwise they could not. But before you can start enjoying all the benefits of Cloudflare Warp, you need to install it on your server.
# FsCarmen's script
wget -N https://cdn.jsdelivr.net/gh/fscarmen/warp/menu.sh && bash menu.sh
This will give you an easy to use interface for setting up your warp connection along with a few other useful functions.
You can view Fscarmen's project along with further instructions on GitHub (opens new window)
# P3terX's script
bash <(curl -fsSL git.io/warp.sh) [subcommand]
| Subcommand | Usage |
|---|---|
| install | Install Cloudflare WARP Official Linux Client |
| uninstall | uninstall Cloudflare WARP Official Linux Client |
| restart | Restart Cloudflare WARP Official Linux Client |
| proxy | Enable WARP Client Proxy Mode (default SOCKS5 port: 40000) |
| unproxy | Disable WARP Client Proxy Mode |
| wg | Install WireGuard and related components |
| wg4 | Configuration WARP IPv4 Global Network (with WireGuard), all IPv4 outbound data over the WARP network |
| wg6 | Configuration WARP IPv6 Global Network (with WireGuard), all IPv6 outbound data over the WARP network |
| wgd | Configuration WARP Dual Stack Global Network (with WireGuard), all outbound data over the WARP network |
| wgx | Configuration WARP Non-Global Network (with WireGuard), set fwmark or interface IP Address to use the WARP network |
| rwg | Restart WARP WireGuard service |
| dwg | Disable WARP WireGuard service |
| status | Prints status information |
| version | Prints version information |
| help | Prints this message or the help of the given subcommand(s) |
| menu | Chinese special features menu |
This is a script with basic functionality but also makes it easy to integrate into scripts and workflows.