Insights

Clash for Windows: Proxy Setup and Migration Guide

Choose your Windows client, load your proxy details, and check the route your applications use.

Windows computer, YAML profile, Clash client and proxy connection illustration

Clash for Windows uses profiles to choose proxy servers and route application traffic. If you already have CFW installed, follow the setup steps below. For a new Windows installation, this guide uses Clash Verge Rev, a desktop client built around the Mihomo core.

Choose a Clash client for Windows

Your starting point

What to do

You already use Clash for Windows

Import a profile, select your proxy, and check the General and Proxies settings below.

You need a current Windows download

Open the Clash Verge Rev project releases and choose the Windows build for your system.

You want to move from CFW

Export or copy your current profile, then follow the migration checklist.

Clash for Windows is a legacy project. Current Clash Verge Rev installers are available from the project's release page. On Windows, open Settings → System → About and check System type before choosing x64 or arm64.

Get Clash Verge Rev for Windows

Turn your proxy details into a Clash profile

What you received

How to load it

A Clash-compatible subscription URL

Add it as a remote profile and download its configuration.

A complete YAML file

Import the local file, then select it as the active profile.

A proxy host, port, username, and password

Generate a complete YAML profile with the steps below.

  1. Copy endpoint details

    Copy the server address, port, protocol, username, and password from your MIYAIP connection details.

  2. Open the converter

    Open the Proxy Format Converter and paste your proxy entry with its protocol and authentication fields.

  3. Generate Clash YAML

    Choose Clash / Mihomo YAML as the output format and run the conversion.

  4. Export the profile

    Choose Export file, confirm credential inclusion when prompted, and save the .yaml file. It contains proxy nodes, a selection group, and routing rules ready for import.

For a manual configuration, use the HTTP and SOCKS5 setup guide. Match the protocol and port to the connection details supplied with your proxy.

Selecting Clash and Mihomo YAML output for HTTP and SOCKS5 example entries
Choose Clash / Mihomo YAML for the proxy entries. The values shown are examples.

Set up a proxy in Clash for Windows

  1. Import the profile

    Open Profiles. Import your local YAML file, or download the profile from your subscription URL.

  2. Activate the profile

    Select the profile so that its proxy groups appear under Proxies.

  3. Select the node

    Choose Rule mode. Open the group used by your rules and select your MIYAIP node. Profiles generated by the converter use the MiyaIP Proxy group.

  4. Enable System Proxy

    Open General, check that the core is running, and enable System Proxy.

  5. Verify a browser request

    Open a new browser request and inspect the client's connection record. Confirm the matched group and selected node.

The System Proxy setting is used by applications that follow Windows proxy settings. An application with its own proxy settings can use the client's local listening address and port. Read that port from General before entering it in the application.

Move your profile to Clash Verge Rev

  1. Back up the CFW profile

    Save a copy of your active CFW profile and note the subscription URL if you use one.

  2. Install Clash Verge Rev

    Install Clash Verge Rev from its project release page.

  3. Stop the old client

    Turn off System Proxy in CFW and quit CFW before enabling proxy routing in the new client.

  4. Import and select the node

    Import the profile into Verge Rev, activate it, and select the intended node in the matching proxy group.

  5. Enable routing and test

    Enable System Proxy in Verge Rev and repeat the same browser test. If the profile fails to load, use the displayed configuration error to locate the setting that needs updating.

Keep client-specific scripts and overrides separate from the base profile during migration. Add them back one at a time after the basic connection works. See the Clash Verge Rev guide for the profile and routing controls.

Save the profile, stop routing through CFW, and verify the imported profile in Clash Verge Rev before restoring overrides.

Save the profile, stop routing through CFW, and verify the imported profile in Clash Verge Rev before restoring overrides.

Check the Windows connection

Open What Is My IP in the browser you are routing. Compare the displayed address with the expected proxy exit, then inspect the same request in the client's connection list. The active profile, matched group, and exit address should agree.

What you see

Check

Action

The profile cannot load

YAML error and indentation

Correct the reported line, then import the file again.

The browser keeps using the original IP

System Proxy and the matched rule

Enable the setting and select the proxy in the group used by that request.

Authentication fails

Protocol, port, username, password

Re-copy the connection fields and regenerate the profile.

One application does not appear in Connections

Application proxy settings

Point it to the client's local port, or use the current client's TUN setup for applications needing that route.

The local port is already in use

Other running proxy clients

Quit the old client or choose an unused local port and update the application's setting.

Frequently asked questions

Where can I download Clash for Windows now?

The original CFW project is no longer maintained. For a new installation, use the Clash Verge Rev release link above. If CFW is already installed, the CFW section explains its Profiles, Proxies, and General controls.

Is Clash Meta for Windows a separate proxy service?

Clash Meta, now known as Mihomo, is the proxy core. A Windows application such as Clash Verge Rev provides the interface. Your proxy provider supplies the upstream server and connection credentials.

Can I use a SOCKS5 proxy with Clash for Windows?

Yes. Add the proxy as a SOCKS5 node with the matching server, port, and authentication fields, then reference it from a proxy group used by your rules. The converter can generate this profile from your proxy entry.

Why does a proxy work in Global mode but not Rule mode?

Rule mode follows the policy matched by each request. Inspect that request, find its group, and check which node is selected there. Global mode uses the global selection, so the two modes can send traffic through different routes.

Connect a static residential proxy on Windows

Choose a MIYAIP static residential plan, copy its connection details, and build a profile for your Windows client.

Sources