ShardXUsage instructionsWindowsClashX

ClashX

Clash for Windows can proxy both TCP and UDP traffic in TUN mode.

Download and launch

Open the Clash for Windows releases page and download Clash.for.Windows-0.20.39-win.7z.

Downloading Clash for Windows from GitHub

Extract the archive to a separate folder.

Extracting the Clash for Windows archive

Run Clash for Windows.exe as administrator. Administrator access is required to install and operate the system network driver.

Running Clash for Windows as administrator

Configure the profile

  1. Open Profiles.
  2. Click the <> icon next to config.yaml.
Opening the config.yaml editor

Add the proxy under proxies: and enter the details from your order. This example uses SOCKS5.

proxies:
  - name: "ShardX-Germany"
    type: socks5
    server: 123.123.123.123
    port: 41733
    username: proxy_login
    password: proxy_password
    udp: true

proxy-groups:
  - name: "ShardX"
    type: select
    proxies:
      - ShardX-Germany

rules:
  - PROCESS-NAME,chrome.exe,ShardX
  - MATCH,DIRECT

name is the connection name. Enter the proxy details in server, port, username, and password. The udp: true setting enables UDP for this server.

Configuring a proxy in config.yaml

See the general setup guide for help finding the connection details.

Activate and test the proxy

  1. Open Proxies.
  2. Select Global mode.
  3. Click Check next to the ShardX server.
Selecting Global mode and testing the proxy

If the connection is available, the server card will show its latency.

Successful proxy test in Clash for Windows

Add multiple proxies

Add each server as a separate item under proxies: and list their names in the ShardX group. After saving the configuration, the servers will appear under Proxies, where you can switch between them.

Multiple proxies in Clash for Windows

Enable TUN Mode

  1. Open General.
  2. In the TAP Device row, click Manage, then Install.
  3. Enable TUN Mode to route system traffic through the selected proxy.
Installing the network adapter and enabling TUN Mode

Verify the connection

Open ShardX IP Checker and confirm that it displays the proxy IP address.

Checking the IP address after configuring Clash for Windows

You can also check for WebRTC leaks with BrowserLeaks.

Checking WebRTC with BrowserLeaks

If the connection does not work, verify the values in config.yaml, restart the application as administrator, and follow the troubleshooting guide.

Last updated on

On this page