In this article, you will need a VPN, Clash proxy software, and a server. Free VPNs can be found at ikuuu free VPN. For servers (it's best to buy a domestic server), you can use Tencent Cloud or Alibaba Cloud, Huawei Cloud is also a good choice, uccloud is quite good, and Rainyun is the cheapest. As long as you have enough stamina, you can also get it for free.
Step 1: Install and Run Clash#
Go to the official homepage to download.
Select linux-amd64
# Unzip
gunzip clash-linux-amd64-v1.7.0.gz
# Rename
mv clash-linux-amd64-v1.7.0.gz clash
#
mkdir Clash
mv clash ./Clash
# Grant permissions
chmod +x clash
Enter the newly created Clash folder, download config.yaml and Country.mmdb
wget -O config.yaml [subscription link]
wget -O Country.mmdb https://www.sub-speeder.com/client-download/Country.mmdb
Start Clash (using the configuration file in the current directory)
./clash -d .
If you execute ./clash directly, the configuration file should be placed in ~/.config/clash
Step 2: Open Port 9090#
Open port 9090 in Baota and the security group. The security group requires two records: one for UDP and one for TCP, both for output.
Step 3: Connect to It#
Set the proxy option in the remote settings of Gridea software, with the address as your server's IP and the port as 9090.
The Windows system proxy is the same.
Acknowledgments
Thanks to Rogn for publishing the article on installing Clash proxy on Linux (this article mainly references this one).
Thanks to Wuxiaoxian for the Retro Room published on GraCG.