In places like China, getting to sites like YouTube, Google, or LinkedIn often needs a VPN. Sometimes, it's just about connecting to your company's network. Here, I've got the tips you need to set up ClashVPN on your Kali Linux machine. Easy access, secure browsing!
From here, download relevant file according to your operating system.
I downloaded "Clash for Windows-0.20.39-x64-linux" to my downloads folder. After unzipping, locate cfw file inside or it and run it with command: ./cfw to open clash.
- Go to Profiles
- Paste in your VPN address and click download.
- Now you have VPN connection.
- Edit environment variables
$ sudo nano /etc/environment
Add the following three lines at the end of the file:
export http_proxy="http://127.0.0.1:7890"
export https_proxy="http://127.0.0.1:7890"
export no_proxy="localhost, 127.0.0.1"
- Enable proxy for sudo operations
$ sudo visudo
Add the following line to the file:
Defaults env_keep+="http_proxy https_proxy no_proxy"
- Reboot your machine to take effect
Congrats, now you have ClashVPN set up on your Linux Machine