Skip to content

Instantly share code, notes, and snippets.

@vinhjaxt
Last active February 13, 2023 11:43
Show Gist options
  • Save vinhjaxt/7c0eca58a143036211b5e05e1cf5a11c to your computer and use it in GitHub Desktop.
Save vinhjaxt/7c0eca58a143036211b5e05e1cf5a11c to your computer and use it in GitHub Desktop.
Warp linux proxy
FROM ubuntu:22.04
RUN apt update -y && apt install -y apt-transport-https curl
RUN curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ jammy main" | tee /etc/apt/sources.list.d/cloudflare-client.list
RUN apt update -y && apt install -y cloudflare-warp
CMD ["warp-svc"]
sudo apt install -y cloudflare-warp
warp-cli register
warp-cli set-mode proxy
warp-cli set-proxy-port 10800
sudo warp-cli connect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment