# Clash For Windows (Legacy app)

Updated: May 1, 2025

{% hint style="success" %}
**Clash for Windows is no longer regularly updated. We recommend users to switch to** [**Clash Verge** ](https://docs.wannaflix.net/windows/clash-verge-recommended)**instead.**&#x20;
{% endhint %}

{% hint style="info" %}
This guide is for Clash for Windows **version 0.20.5** and up.
{% endhint %}

Clash for Windows **version 0.20.5 and up** supports both Trojan AND Shadowsocks. It also supports the TUN engine for capturing packets, and provides support for the Windows app store via UWP. This means it can run games without needing additional software.&#x20;

## STEP 1: Download and install Clash

[Click here](https://cdn-edge.wannaflix.net/Clash.for.Windows.Setup.0.20.39.exe) to download the app. Once downloaded, double-click it to install.

{% hint style="info" %}
Version: v0.20.39

Released on: October, 2023
{% endhint %}

{% hint style="success" %}
Alternative mirrors:

Download on [Github](https://github.com/Kuingsmile/clash-core/releases/tag/cfw)&#x20;
{% endhint %}

Once installed, you can find it on your desktop, or by doing a search for "Clash" in the windows search bar.

Double-click to start the app.

{% hint style="info" %}
You will find the app in the tray at the bottom right corner of the screen.

The app icon is a blue cat.
{% endhint %}

## STEP 2: Add the servers

### Copy the API

1. Login to your dashboard
2. Select "Clash for Windows" in the dropdown for Windows
3. Click "Copy API"

### Paste the API&#x20;

1. Open Clash by double-clicking on the app icon in the tray on the bottom right corner of your screen (blue cat icon)
2. Go to "Profile" (left-hand menu)
3. Paste the API in the "Download from a URL" box and click "Download"

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FsxUu70zbd13XH4worgRG%2FScreenshot%202023-02-28%20at%205.36.13%20PM.png?alt=media&#x26;token=a2dbf818-9cd6-4938-a1a9-ca74025eb423" alt=""><figcaption></figcaption></figure>

Your server list has now been downloaded to the app.

{% hint style="success" %}
**IMPORTANT:**

Make sure you select the newly downloaded server config file, and not the default.
{% endhint %}

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FZclB6GQdUWfegSteakvY%2FScreenshot%202023-02-28%20at%205.38.45%20PM.png?alt=media&#x26;token=00497c6b-e718-42e7-86a4-4b2c385dc6ba" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
We **HIGHLY** recommend to set the API to auto-update the server list at least once a day (preferably every 12 hours).&#x20;

To do so, right click on the profile you just added, and go to settings. Under "Update Interval (hours)" type "12", then click OK.
{% endhint %}

<div data-full-width="false"><figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FpInekBHqFi1tG4qoWSMd%2FScreenshot%202023-03-02%20at%209.02.01%20PM.png?alt=media&#x26;token=c3eff9a9-d48c-428c-afa8-0a7fa4fece4c" alt="" width="306"><figcaption></figcaption></figure></div>

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2Fm5QVktO0n5b2Gid600lr%2FScreenshot%202023-03-02%20at%209.03.20%20PM.png?alt=media&#x26;token=88f9da02-fc81-458f-8521-e76f1b21d9d1" alt="" width="375"><figcaption><p>Set the Update Interval to every 12 hours</p></figcaption></figure>

## STEP 3: Select a server

### OPTION 1: Simple Setup - all websites through 1 server

**If you are unfamiliar with Clash, we recommend this setup.**

1. Go to "Proxies" (left-hand menu)
2. Select Global mode from the top (see image below)
3. Select a server from the list

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FOeBSjidqWmLv6HrQZFfi%2FScreenshot%202024-04-16%20at%205.44.11%E2%80%AFPM.png?alt=media&#x26;token=2cf34eda-fb10-4227-bb25-a8b6fa2fe210" alt=""><figcaption></figcaption></figure>

### OPTION 2: Split-tunneling Setup - decide which server each site will go through

1. Go to "Proxies" (left-hand menu)
2. Select Rule mode from the top (see box below)
3. Select a server from the list under "WannaFlix". This will be your main server.
4. You can also select a different server for services like Netflix and Youtube.&#x20;

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2Fb5RgcL7KeH1p2VUeJEsM%2FScreenshot%202023-02-28%20at%205.40.24%20PM.png?alt=media&#x26;token=25ae1849-7e2a-4a3d-9fbf-3211d4840467" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Modes:

Global - All websites go through one WannaFlix server

Rule - Websites go to different servers based on pre-configured rule sets.
{% endhint %}

## STEP 4: Connect

1. Go to the "General" tab
2. Toggle the "System Proxy" switch

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FCdHR2uIRmPVjWq344WjC%2FScreenshot%202023-02-28%20at%205.42.39%20PM.png?alt=media&#x26;token=80a8e2d9-fa98-41a4-a523-ae1f8de7a3dc" alt=""><figcaption></figcaption></figure>

You are now connected.

{% hint style="info" %}
To disconnect: Toggle the "System Proxy" switch again
{% endhint %}

{% hint style="danger" %}
Make sure to **turn the "System Proxy" switch OFF before quiting the app** or you won't have any internet if you do so (i.e. it doubles as a kill-switch).

To fix it, restart the app and turn the "System Proxy" switch OFF and then quit the app.
{% endhint %}

## Additional Steps \[IMPORTANT READ]

### Install the TUN engine

If you want to play games with Clash or have all apps go through Clash, you need to install the TUN engine.

1. Go to the "General" tab
2. Click "Manage" next to "Service Mode"
3. Click "Install"
4. If you get any popups, click YES.

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2Fhs3iUXjpZn1o3Ner94dx%2FScreenshot%202023-02-28%20at%205.44.18%20PM.png?alt=media&#x26;token=7317c954-a5cf-470c-b422-2aef80043ff0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2F88HiKQVWfdqXYpx0UGhL%2FScreenshot%202023-02-28%20at%205.45.06%20PM.png?alt=media&#x26;token=f540c95c-eebe-4af4-9d1b-3b72680ae6b9" alt=""><figcaption></figcaption></figure>

If it is correctly installed, the globe will turn green.&#x20;

Now disable System Proxy, and enable TUN mode.&#x20;

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FOcWIG0AC9zBiEyMjcfKm%2FScreenshot%202023-02-28%20at%205.51.45%20PM.png?alt=media&#x26;token=77d38af4-b5ea-411d-a868-424f99bcafdb" alt=""><figcaption></figcaption></figure>

### Windows Store apps

Windows Store apps do not go through the VPN by default, even when TUN/TAP is enabled. You need to force them by using the UWP Loopback Helper.

1. Go to the "General" tab
2. Click "Launch Helper" next to "UWP Loopback"
3. If there's a popup click "YES"
4. Select all the apps you want to force through the VPN
5. Click "Save Changes"

### Enable Start with Windows

If you want Clash to automatically start when you boot your computer, you need to enable this option.

1. Go to the "General" tab
2. Toggle the "Start with Windows" switch

### Kill all connections when changing server

By default, old connections will not be redirected to the new server but will continue going to the old server until they timeout.

This creates problems when you're switching servers to watch Netflix or if you need a specific IP address as the websites you've just visited will still be going through the old server.

To kill all connections (and therefore forcibly reconnect via the new server), do this:

1. Go to "Settings"
2. Scroll down to "Connections"
3. Select "All" next to "Break when proxy change"
4. Also toggle "Break when Profile change" and "Break when Mode change"

## Troubleshooting

To be done. Please submit any issues to the team. Common issues and how to fix them will be added here.

### How can I update the server list?

Go to profiles, and click on the refresh icon next to the profile you want to update.

<figure><img src="https://1304992641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lc04095R6CkPoB8xaCl%2Fuploads%2FERzCiBWifKBCAsckEVDC%2FScreenshot%202023-03-02%20at%209.05.04%20PM.png?alt=media&#x26;token=28ee9eb5-f357-4252-b71a-d69fe6298e4a" alt=""><figcaption></figcaption></figure>

### How can I play games with Clash for Windows?

You need to install the TUN Device (see [above](#install-the-tap-engine)), and connect to a server that supports UDP.

### Spotify/OneDrive/Other app doesn't work

Windows Store apps don't go through Clash by default. You need to force them to go through by using the UWP Loopback Helper (see [above](#windows-store-apps)).

If it still doesn't work, make sure you've installed the TUN interface (see above).

### Netflix/other website is using another server to connect instead of the one I selected.

You have probably selected "Rule" mode and the Netflix website is being redirected to another server based on the Netflix rule set. Select the server you want under "Netflix" in the server list.
