Skip to content

Commit

Permalink
add Plus for official implement
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed May 8, 2024
1 parent 980dc65 commit 8edbfe0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ curl -x "socks5h://127.0.0.1:9091" -fsSL "https://www.cloudflare.com/cdn-cgi/tra

### 4. Official Implement

#### 4.1 `Proxy` Mode for newbie
#### 4.1.1 `Proxy` Mode for newbie

For those who has `amd64` remote machine and don't need to use `docker` to secure network connection, I [suggest](https://github.com/cloudflare/cloudflare-docs/pull/7644) to use the official `warp-cli` as following:

Expand All @@ -260,6 +260,29 @@ curl -x "socks5h://127.0.0.1:9091" -fsSL "https://www.cloudflare.com/cdn-cgi/tra
# See`warp=on` means success.
```

#### 4.1.2 `Proxy` Mode with `Plus`

Prepare `WGCF_LICENSE_KEY="xxxxxxx"`

```bash
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg \
| sudo gpg --yes --dearmor --output /etc/apt/trusted.gpg.d/cloudflare-warp.gpg

echo "deb https://pkg.cloudflareclient.com $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/cloudflare-warp.list > /dev/null

sudo apt-get -qq update && sudo apt-get -qq install cloudflare-warp

echo y | warp-cli registration new && warp-cli registration license "$WGCF_LICENSE_KEY"
warp-cli mode proxy
warp-cli proxy port 9091
warp-cli connect

# test
curl -x "socks5h://127.0.0.1:9091" -fsSL "https://www.cloudflare.com/cdn-cgi/trace"
# See`warp=plus` means success.
```

#### 4.2 `Default` Global Mode for old man

For those who are **ooold** enough for Linux network management, try it for a global proxy mode, keep in mind that you have already back up or have second way or third way to save your remote VM's network!!!
Expand Down

0 comments on commit 8edbfe0

Please sign in to comment.