ClashX

Example of ClashX configuration.

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

Link to Github: https://github.com/lantongxue/clash_for_windows_pkg/releasesarrow-up-right

2) Unpack and run ClashX

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

Unpacking the archive to the desktop
Run as administrator

3) Go to configuration settings

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

4) Configuration setup

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

In the end it should look something like this:

Example configuration

You should also clarify which fields are responsible for what (link about the proxy fields from the order).

5) Configuration check

After setting the configuration, you need to open "Proxies" and select the "Global" option and perform a check of your configuration set in step 4.

If the check failed and you see "Failed", compare with the configuration file and make sure that all proxy data is entered correctly. If the settings are correct, you will get a successful check output as 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 TUN interface you need to enable TUN Mode, as in the screenshot in the 4th frame

7) Functionality check

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

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

If the check or proxying does not work, make sure you 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 add new proxies to the configuration from step 4. The names "ProxyShard-DE-testname1" are arbitrary and can be chosen as you like.

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

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

Last updated

Was this helpful?