Last active
February 13, 2023 11:43
-
-
Save vinhjaxt/7c0eca58a143036211b5e05e1cf5a11c to your computer and use it in GitHub Desktop.
Warp linux proxy
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
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"] |
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
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