When working and studying with Kali, we often encounter project failures due to network issues. At this point, we need to set up a proxy for our network to resolve this problem.
π About
Clash
is developed by Dreamacro
, a tool developed in Go
that does not require servers or virtual hosts and supports many protocols.

π Installation in Kali
First, visit the project address:
https://github.com/Fndroid/clash_for_windows_pkg/releases
Select the appropriate version; I will use 1.7.1
as an example.
Execute the command below to download directly
wget -O clash.gz https://github.com/Dreamacro/clash/releases/download/v1.7.1/clash-linux-amd64-v1.7.1.gz
PS If the download is slow, it is recommended to use Thunder for downloading. After the download is complete, execute the command below
# Grant permissions
chmod +x clash-linux-amd64
# Run
./clash-linux-amd64
After the first run, two configuration files will be generated in the /root/.config/clash
directory. Among these files, the most important is the config.yaml
file, which contains all your proxy information. Then obtain the subscription link from the provider; the method is simple and can be searched on Baidu. For some reasons, I won’t mention it here. After modifying, save the config.yaml
file. Then run again
./clash-linux-amd64
Open the browser and enter http://clash.razord.top/#/proxies
to configure Clash
Fill in the port as per the
yaml
configuration file’s external-controller
port

Finally, set your proxy in firefox

And thatβs it.
For more articles, follow us