/THM-VPN

Primary LanguageShell

THM-VPN

📌 This tool was a task in CAT Reloaded community


image


▶ At first you should downloads the configration file (xxxx.ovpn) from THM

image


Before you start to use the tool if you aren't install cloudflare-warp follow the next steps, if already installed skip the 6 next steps

1- Add cloudflare gpg key
- curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg

2- Add this repo to your apt repositories
- echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ buster main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

3- Install
- sudo apt update && sudo apt install cloudflare-warp

4- run warp-svc
- warp-svc register&

5- register
- warp-cli register

6- connect
- warp-cli connect

If anyone faced a problem while downloading cloudflare he can follow next steps

-download old version from Here

1- sudo dpkg -i cloudflare_warp.deb
2- warp-cli register
3- warp-cli connect

Before you start to use the tool if you aren't install openvpn follow the next steps, if already installed skip the next steps

1- sudo apt update
2- sudo apt install openvpn

To install and use tool

1- git clone https://github.com/M7x0-0ya2ser/THM-VPN.git
2- cd THM-VPN
3- chmod +x THM-VPN.sh
4- sudo ./THM-VPN.sh

Use of tool

first time of use you should choose 3 to store openvpn file path that you downloaded from THM ( be careful to write /home/user not ~ in path ) then you can choose 1 to start to connect and 5 to close tool then after you finish you can just choose 2 to disconnect