ClashX

Example of setting up ClashX.

1) Downloading the required version of ClashX You need to go to the official GitHub repository of the ClashX project and download the required archive version for your OS. The example shows the setup for Windows OS (Clash.for.Windows-0.20.39-win.7zarrow-up-right).

GitHub link: https://github.com/lantongxue/clash_for_windows_pkg/releasesarrow-up-right

2) Unpacking and launching ClashX

Then you need to unpack the archive and run it as administrator "Clash for Windows.exe" as shown in the screenshots below.

Extracting the archive to the desktop
Run as administrator

3) Going to the configuration settings

After launching the program, you need to go to "Profiles" and open the editor for config.yaml

4) Configuration setup

Set up the file configuration as in the example below, specifying your proxies from the order:

In the end, you should end up with something like this:

Configuration example

It is also worth clarifying which fields are responsible for what (link about the proxy fields from the order).

5) Checking the configuration

After configuring the settings, you need to open "Proxies" and select the "Global" option and verify your configured config from step 4.

If the check does not pass and you get "Failed", then compare it with the configuration file and make sure all proxy details are entered correctly. If the settings are correct, you will get a successful verification result as shown in the screenshot below.

6) Installing and enabling the TAP interface

Next, go to "General" and install the TAP interface on your computer; it will create a new interface to which the proxy will be bound.

After installing the TUP interface, you need to enable TUN Mode, as shown in the screenshot in the 4th frame

7) Checking operation

If everything has started successfully, you can open the application you are interested in, for which you configured the config (step 4), and enjoy your programs working with the ability to proxy UDP traffic!

In our example, proxying was done through Chrome, and we can check it on checkers.

If checking or proxying does not work, make sure that you definitely launched ClashX as administrator and that steps 4 through 6 were completed correctly.

8) Adding multiple proxies and switching between them To be able to quickly switch between proxies, you need to supplement the configuration from step 4 with new proxies. The names "ProxyShard-DE-testname1" are arbitrary and can be chosen as you like.

The main point after adding them is to also specify the proxies for the "proxy-group", as shown below:

If you specified everything correctly, additional connection points will appear in "Proxies", and depending on the selected settings profile (just click any one), the connection will be established.

Last updated

Was this helpful?