Last active
April 1, 2020 15:14
-
-
Save dictcp/f0dfcc34d8a04f9f3b4bbeadab8a122c to your computer and use it in GitHub Desktop.
generate cloudflare wrap+ profile
This file contains 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 | |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list | |
apt update && apt -y install wireguard-tools | |
export PATH="/usr/local/bin:$PATH" | |
/usr/local/bin/pip install poetry | |
git clone https://github.com/ViRb3/cloudflare-warp-wireguard-client | |
cd cloudflare-warp-wireguard-client/ | |
sed -i 's/input("Do you agree? (y\/N): ").lower()/"y"/g' wgcf.py | |
poetry install | |
poetry run python wgcf.py | |
cat wgcf-profile.conf | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -it python:3.8-buster bash -c "$(curl https://gist.githubusercontent.com/dictcp/f0dfcc34d8a04f9f3b4bbeadab8a122c/raw/0d1279a4f954ef1b14bdd57b7ac589005b2c1745/gen-profile.sh)"