Getting Started 8 min read
Clash First-Time Setup Checklist for Mac, iPhone, and Windows
Before connecting, check system proxy permissions, network extension approval, port conflicts, and subscription import order. This checklist helps you avoid common setup issues.
1. Check the client, core, and existing network settings
GUI clients such as Clash Verge Rev handle configuration imports, connection status, and operating system settings. Clash or mihomo is the core that reads the configuration and applies its rules. mihomo evolved from the Clash.Meta project. If the app opens, that only confirms the client launched—it doesn't mean the core loaded the configuration. When troubleshooting, note the client version, the core version shown in the app, and the OS version separately; don't treat them as a single version number.
- Mac: Open the Apple menu → About This Mac and check Chip or Processor. Choose arm64 for Apple silicon or x64 for an Intel processor. Note which network interface you use to connect; you'll need to select the corresponding Wi-Fi or Ethernet service when checking proxy settings.
- Windows: Open Settings → System → About and check System type. Choose an installer that matches your device's architecture; don't assume every 64-bit device uses x64.
- iPhone: Open Settings → General → About to check your iOS version. Before installing, check the App Store listing for the minimum OS requirement and make sure the app supports your subscription format.
First, confirm your current network works without the client you're about to test. If another proxy or VPN is running, note its status and configuration source. Pause only services you're authorized to disable. For a work-managed VPN, proxy script, or device restriction, leave the settings unchanged and check with your administrator.
2. Import the subscription before enabling the configuration
- Choose the right import option. In the client, look for Configuration, Subscription, or
Profiles; the label varies by version. Import a remote address by URL, or choose local import for an existing.yamlfile. Subscription URLs may contain access tokens, so don't include the full address in screenshots or public logs. - Check the download and parse results. After importing, open the configuration details and make sure the expected proxy groups and rules are listed. For a
401or403error, check access permissions or expiration first. If the download succeeds but YAML parsing fails, check whether the response is a configuration file or a login page, then ask the provider which client format to use. - Set the configuration as active. A subscription appearing in the list doesn't mean the client has switched to it. Select it, confirm its name is shown as the active configuration, and check the logs. If it uses remote rule sets or proxy providers, make sure those resources load too. A successfully parsed configuration doesn't guarantee its dependencies are ready.
- Choose a rule mode. Select
Rulein the mode settings, then check which policy group the matched rule points to. If the group requires manual selection, choose an available option. The mode switch doesn't control whether traffic enters the core: rule mode determines how connections already routed through the core are handled, while the system proxy or VPN determines which connections reach it.
3. Route traffic through the client on each platform
Mac: Test the system proxy before trying enhanced mode
Enable System Proxy in the client first, and leave TUN or Enhanced Mode off. In macOS 15, for example, open System Settings → Network → your current network service → Details → Proxies and check which proxy options are enabled. A local HTTP proxy commonly uses 127.0.0.1; its port should match the one configured in the client. If the client uses automatic proxy configuration, check the configuration script rather than enabling every proxy option manually.
The system proxy only affects apps that follow that setting. If a browser works but another app isn't routed through the client, check whether it has its own proxy settings. If you need TUN, install the helper service or approve the network extension as prompted by the client; the exact mechanism depends on the implementation. If macOS 15 specifically asks you to enable a network extension, check System Settings → General → Login Items & Extensions. Don't disable system security features to resolve an authorization issue.
iPhone: Approve the VPN configuration
Choose a configuration in the app and tap Connect. The first connection usually triggers a system prompt to add a VPN configuration. Check the app name and approve it as prompted. If you previously denied permission, return to the app and try connecting again. You can also check the VPN entry and its status under Settings → General → VPN & Device Management → VPN. Adding a configuration may be restricted on managed devices.
For the first test, leave Connect On Demand off. That way, after disconnecting, you can compare network behavior without an automatic reconnect triggered by an on-demand rule. If behavior differs between Wi-Fi and cellular, test each with a manual connection and check which VPN configuration is active.
Windows: Check the proxy source and status
After enabling System Proxy in the client, open Settings → Network & Internet → Proxy in Windows 11. For a manual proxy, check the address and port under Manual proxy setup. For a script-based proxy, check the address under Use setup script. Browser extensions and some apps can use their own proxy settings, so an enabled status in Windows doesn't mean every app uses the same route.
4. Change desktop ports only when there's a conflict
7890 is a common example, not a universal default. First check the client's current listening ports. In a mihomo configuration, port is the HTTP proxy port, socks-port is the SOCKS port, and mixed-port accepts both HTTP and SOCKS. Desktop clients may also have port override settings, so use the port the client is actually listening on. For local use, leave Allow LAN off during initial setup.
Only check which process is using a port if the logs show address already in use or a similar bind error. The example below uses 7890; use the port shown in your actual error.
macOS Terminal
lsof -nP -iTCP:7890 -sTCP:LISTEN
Windows PowerShell
Get-NetTCPConnection -LocalPort 7890 -State Listen |
Select-Object LocalAddress, LocalPort, OwningProcess
If an older client is using the port, quit it normally from the menu bar or system tray, then launch the current client. If another service needs that port, change the current client to an unused one—for example, first check whether 7897 is available. Reload the configuration, re-enable the system proxy, and confirm the proxy address still points to the correct local port. Don't terminate processes you can't identify, and don't enter a proxy port in the controller port field.
5. Test two connections against the rules, then check network recovery
- Test a direct connection. Choose a domain that clearly matches a
DIRECTrule in the active configuration. Open Connections or Logs in the client, make a fresh request from the test app, and check the domain, matched rule, and selected policy. If the system proxy bypass list routes the request around the client, it won't appear in the core's connection log. - Test a proxied connection. Visit a domain that should match a rule routing it through a proxy group, then check the outbound selected for that connection. A page loading successfully doesn't confirm that routing is correct. If no new connection appears, first check whether the app follows the system proxy or VPN. Then close old tabs and start a fresh connection to avoid mistaking a reused session for a new one.
- Troubleshoot based on what you see. If a connection is logged with the right rule but fails, check the selected policy group and the connection error. If it's logged with the wrong rule, check which configuration is active and the rule order. Rules are usually evaluated from top to bottom, so a broad rule near the top may match first. Switching to Global mode can help with a brief comparison, but it doesn't prove the rules are configured correctly.
- Confirm you can restore your network. On desktop, turn off the system proxy and any enabled TUN mode in the client, then quit. On iPhone, disconnect the VPN in the app and confirm its system status. Check that a site you normally use directly is reachable again. If the desktop loses network access after you quit, check whether the system proxy still points to a local port that's no longer listening, and restore the settings you noted before installation.
Initial setup is complete when the active configuration loads, the chosen traffic-routing method works, direct and proxied test connections behave as expected, and the network recovers after you turn the client off. Once all four checks pass, enable features such as automatic configuration updates, launch at login, or Connect On Demand on iOS one at a time. If something goes wrong, you'll know which change to check.