User Guide · From Installation to Maintenance
Clash Verge Rev User Guide
Verify one connection before configuring routing rules and TUN.
Installing for the first time and just want to get connected? Start with the quick setup in the Getting Started Guide. For platform-specific details, help understanding why a rule didn't match, or instructions for configuring TUN and routine maintenance, return to the relevant section of this manual. Examples below use the Clash Verge Rev desktop app; mobile differences are noted separately.
Core Concepts: From App Request to Egress
How the Client, Core, and Configuration Work Together
Clash Verge Rev is a desktop GUI client for importing profiles, switching modes, and displaying runtime status. Mihomo is the core that handles network requests: it listens on local ports, matches rules, and establishes outbound connections. Each has its own state. An open window doesn't mean the core has started, and a listening core doesn't mean the browser is sending requests to it. When troubleshooting, check the interface, core, and app separately; don't treat one as proof of the others.
A configuration file defines how the core should run, including listening addresses, proxy groups, routing rules, and DNS settings. A subscription is one way to deliver a configuration, usually through a remotely hosted link that can be updated. Local files also work as configurations and don't depend on remote updates. A successful subscription update only confirms that the file was fetched. The profile must also be selected and loaded successfully before new requests can use it.
Think of a configuration as an egress decision tree: rules select an outbound route or policy group, and the group selects a member. A node contains the parameters for an actual outbound connection. A policy group can contain nodes, other groups, or a direct connection. Matching a group called “Auto Select” doesn't mean every request will use the same node. When tracing a connection, follow the group to the actual egress instead of relying on the top-level name shown in the interface.
Traffic Capture and Egress Decisions Are Separate
With an explicit proxy, an app connects directly to a local proxy port. A system proxy writes the local proxy address to the operating system settings for apps that honor them. An app may use those settings, use its own proxy settings, or bypass proxies entirely. TUN is a separate entry point that captures traffic through a virtual network interface and routes. Proxy mode only determines how the core handles requests it has already received; it doesn't determine which apps send requests to the core.
For example, when a browser visits a domain without a proxy extension, first check whether it follows the operating system's proxy settings. Once the request reaches the core, the connections page may show the domain, destination address, and matched rule. Then check whether the egress is direct or a policy group, and note the member actually selected. If no new entry appears, first check the traffic entry point and whether the connection was reused. Changing rules won't help if the browser isn't sending requests through the core in the first place.
DNS resolution follows a separate path. An app may resolve a domain itself, send the domain to a proxy, or let the core resolve it to evaluate an IP-based rule. Different apps can pass different information to the core for the same site: one may provide a domain, while another provides only a destination address. A browser matching a domain rule doesn't mean every app will match the same way. When troubleshooting DNS, observe the lookup and the subsequent connection separately.
Establish a Reproducible Baseline
For your first test, use one app, one site you're allowed to access, and one traffic entry point. Note what happens before enabling traffic capture, then enable the system proxy or an explicit proxy in the app and send the request again. Check whether the client logs a new connection. Compare what actually happened: did the app fail to connect to the local port, or did the core receive the request but fail to establish an outbound connection? These failures occur at different layers and require different checks.
A useful record includes the current profile, traffic entry point, proxy mode, matched rule, and actual egress. Don't change networks, subscriptions, and nodes all at once; even if the connection recovers, you won't know what fixed it. The rest of this guide uses that baseline: installation checks whether the core runs, subscriptions provide its routing logic, and modes and rules determine egress. Expand traffic capture only after those checks. Look up unfamiliar terms in the Glossary.
Choose a Client: Platform, Architecture, and Alternatives
Filter by Operating System and Features
Start with the downloads for your platform. For Windows, macOS, Android, and iOS, consider Clash Plus first. For the desktop configuration, proxy group, and TUN examples in this guide, use Clash Verge Rev on Windows, macOS, or Linux. Linux users can also choose FlClash, but its menus, service management, and supported configuration fields may differ, so don't follow the interface steps word for word.
Before downloading, check your operating system version, processor architecture, and device management status. Processor support for an instruction set doesn't guarantee the operating system provides the same runtime environment. Managed devices may also restrict app installation or virtual network interface permissions. If the download page doesn't list your architecture, don't assume a package for another architecture is an equivalent substitute. If you're using a phone, the configuration and routing concepts still apply, but use the mobile app's connection authorization flow instead of looking for desktop proxy settings.
| Platform | Recommended and Alternative Clients | Check Before Installing |
|---|---|---|
| Windows | Clash Plus; also available: Clash Verge Rev, FlClash, Clash Nyanpasu | System architecture, installation permissions, existing proxies |
| macOS | Clash Plus; also available: Clash Verge Rev, FlClash | Apple Silicon or Intel, network permissions |
| Android | Clash Plus; also available: Clash Meta for Android, FlClash, Surfboard | App architecture, configuration format, VPN conflicts |
| iOS | Clash Plus (App Store; project website: clashplus.io) | App Store compatibility details, VPN configuration authorization |
| Linux | Clash Verge Rev; alternative: FlClash | Distribution, package format, desktop environment, and service permissions |
Narrow Down Your Options by Configuration Compatibility
Before switching clients, confirm whether you received a complete YAML configuration, a node list, or a client-specific link. Support for the same node protocol only means a client may be able to establish that type of outbound connection. Rule providers, DNS resolution, override scripts, and interface extensions in the configuration may not transfer along with the nodes. Start by listing the features you need to keep, and separate preferences that only affect convenience. Don't sacrifice configuration compatibility for interface details.
On desktop, validate your choice with a simple task: import a working configuration, confirm you can select a policy group, enable the system proxy, and check for a new connection. Then quit the client and confirm the system proxy is restored. On mobile, compare VPN authorization, system state after disconnecting, and whether new connections work after switching Wi-Fi networks. Comparing clients only by whether their windows open won't reveal differences in network permissions, background behavior, or group configuration.
A GUI client suits users who frequently check group selections and connection logs. Running the Mihomo core on its own is better suited to users who can manage service processes, file paths, updates, and logs. Running a separate core alongside a desktop GUI client can cause port conflicts and make it harder to tell which process produced a log. Unless you specifically need a standalone core, don't treat a core package as a prerequisite for the GUI client.
Plan Your Migration; Don't Default to Archived Builds
Clash for Windows and ClashX Meta are no longer maintained. Archived builds can help you identify old settings, but aren't recommended for new deployments. Before migrating, export your local configuration, check which subscriptions can still update, and note your existing rules, policy group selections, and system proxy port. Import the basic configuration into the new client first, verify the connection, then recreate local settings one at a time. Don't overwrite the new client's configuration directory.
Settings such as auto-start, mixed port, LAN access, and bypass addresses may be stored in the old app rather than the subscription file. Loading the same file in a new client may not preserve these behaviors. For tools that depend on a fixed port, configure it in the new client if needed, or update the tool's own proxy settings and check which process receives the requests. Revisit long-standing exception rules to confirm they're still needed.
If you need to keep the old client temporarily as a fallback, disable its auto-start and make sure the old and new clients won't both modify the system proxy or enable a virtual network interface. Run only one client during the first switch. Once you've verified the browser, terminal, and required local services, consider removing the old settings. For migration steps, see the Clash for Windows migration guide or client comparison.
Installation and Initial Checks: Verify the Local Listener First
Install and Authorize the App on Your Platform
Choose a package that matches your operating system and architecture from the downloads page. On Windows, quit other proxy clients before installing to avoid having old and new processes compete for the same port. If the system requests administrator permission, check whether you're installing the app or registering a service. You don't need to enable a virtual network interface just to test the system proxy. After installation, launch the app, open its settings and logs, and confirm that it reports the core's status.
On macOS, check the chip type in System Information before choosing a package. If the app is distributed as a disk image, move it to the Applications folder before launching it rather than relying on the mounted image. If macOS shows a security warning, verify the file's source and your organization's device policies, then use the supported authorization flow. Don't disable system security protections wholesale. Once the GUI starts normally, authorize system proxy or helper services only if you need them.
On Linux, check your distribution's package format and architecture first. Install a compatible local package using the distribution's package manager so it can handle dependencies. A client launching successfully doesn't mean every desktop environment accepts the same system proxy settings. For an initial test, configure one app to connect explicitly to the local port. If that works but the system proxy doesn't, check desktop environment and app support before changing the core.
On Android, check the system architecture and app permissions before installation. Grant VPN authorization when prompted during connection setup. On iOS, install from the appropriate store and review the system prompt when adding a VPN configuration. A mobile VPN status means a traffic capture entry point has been established; it doesn't confirm that a subscription or rule is working. If another app already captures traffic, check whether it occupies the system VPN slot. On managed devices, follow the applicable management policies.
Match the Port, Address, and Process
In the desktop app's settings, find the mixed port and listening address. A mixed port accepts both HTTP proxy and SOCKS requests. The command below uses the local loopback address and an example port. Before running it, check the actual values in the interface and load a configuration that allows access to the test site. The command explicitly specifies an HTTP proxy, doesn't rely on the system proxy toggle, and won't change system settings. In Windows PowerShell, use curl.exe as the command name.
curl --proxy http://127.0.0.1:7897 --noproxy "" --max-time 10 --head https://example.com/
A “connection refused” error usually means you should first check the port, whether the core is running, and whether the address matches its listening scope. Don't switch nodes as your first step. If the request reached the local proxy and appears on the client's connections page, the entry point received it. For a subsequent timeout, distinguish between DNS resolution, outbound connection, and remote response failures. A command error isn't a reason to reinstall immediately; use the logs to identify the layer where it failed.
If there's a port conflict, first identify whether the listener belongs to an old client or a standalone core. Quit the old program normally if possible; don't terminate processes you don't recognize. If you must change the port, update any manually configured proxy addresses in your apps and test again. When using the proxy locally, keep it bound to loopback. Don't enable LAN access just because a local request failed; another device being unable to reach a loopback address is expected.
Verify the First Shutdown Too
Quit using the client's exit command rather than just closing its window. Check whether the system proxy still points to that port or whether the browser has a separate manual proxy setting. If pages stop loading after you quit, first restore the system settings you recorded before installation. Don't casually remove a proxy configured by your organization. Reopen the client, then check the local listener and test request in that order: core first, app second. This gives you a stable starting point for importing a subscription in the next section.
Subscriptions and Profiles: Import, Activate, and Update
Identify the Source Before Choosing an Import Method
A remote subscription is a configuration endpoint provided by a service. Its URL may contain access credentials. Check the provider's page to make sure you're copying a format compatible with your client, then copy the full URL. Don't send private subscriptions through public online converters or links shared by other people, and don't paste them into public feedback channels. To troubleshoot an import, record the error category and stage; you don't need to share the full URL.
In Clash Verge Rev, paste the remote URL on the subscriptions page and import it. If you received a local YAML file, use the local file import option instead of pasting its path into the remote subscription field. A successful import adds an entry to the list. Select that entry to activate it, then check the proxy or rules page to confirm its contents. Seeing a new filename doesn't prove that the running configuration has changed.
A subscription response may be a complete configuration, an encoded node list, or a set of individual node links. A complete configuration can include proxy groups and rules; the other formats may not provide a complete, runnable setup. If the format is invalid, first check whether the provider can generate compatible YAML instead of changing the file extension. For a comparison of response formats, see how to import subscription links.
Separate Download Failures from Load Failures
If the download fails, check whether the device can reach the subscription source, whether the link has expired, and whether copying added spaces or line breaks. Some servers return a login prompt or error page. Although the request receives a response, its contents aren't a configuration. Ask the provider about the delivery method and access requirements. If you have a working configuration from the initial setup, keep it while retrying; it helps you determine whether the issue is limited to the new source.
If loading fails, check whether the core error includes a field name and line number. First inspect YAML indentation, make sure lists use aligned hyphens, and confirm that every rule's target group exists. After editing a local file, use the client's save or reload process to apply it. The client may keep the old configuration running, so a working connection in the interface doesn't prove the new file loaded. Confirm by checking the proxy groups and logs.
Also distinguish between a file loading successfully and a saved selection remaining valid. After a subscription update, nodes or proxy groups may be renamed, leaving a saved selection unmatched. On the proxy page, confirm the group still has an available option, then check the actual egress in the connections log. Don't treat names in an old screenshot as permanent identifiers. For configurations that support a fixed use case, reference a maintainable group name rather than a node name that may change with updates.
Keep a Primary Profile and a Comparison Profile
Give your everyday profile a recognizable name and keep a local profile for comparison, noting its source and purpose. Remote content is controlled by the subscription, so it's not a good place for long-term custom changes: the next update may overwrite them. Use a client-supported override mechanism for changes that need to persist, or maintain a separate copy yourself. If you keep both, note which source is currently active.
Before enabling automatic updates, complete one manual update and verify the result. Record the working configuration, selected policy group, and important rules, then repeat the same request after updating. If your network requires the old egress to reach the subscription, keep that known-working route available during the update. Repeated failures won't be fixed by shortening the update interval. First check whether the client sent a request, then whether the failure came from the source response or file parsing.
Subscriptions, configurations, and logs may contain private addresses. Review their contents before backing them up, and store copies somewhere you control. When sharing in a support forum, include only the structure needed to reproduce the issue; remove credentials, internal addresses, and request parameters. For long-term management of multiple profiles, see the Profile configuration guide and track updates, selection, and overrides separately.
Proxy Modes: Compare Rule, Global, and Direct with the Same Request
Understand What Each Mode Affects
Rule mode selects an outbound route according to the order of rules in the configuration. Different targets can be routed directly, rejected, or sent to a policy group, making this mode suitable for everyday use. When testing rule mode, don't just check whether a page loads; confirm that its requests matched the intended rules. A page may load resources from multiple domains, and each connection may use a different egress. A successfully loaded main document doesn't mean the entire page followed the same route.
Global mode sends connections that have reached the core to the global policy group instead of applying routing rules one by one. Its actual egress depends on the selected member of that group. If the selected member is direct, enabling global mode doesn't mean traffic will use a proxy node. Use global mode for a brief comparison: if the same request works after you select a known-good egress in the global group, return to rule mode and check the matched rule and group selection.
Direct mode sends connections that have reached the core directly to their destinations. It doesn't turn off the operating system proxy or remove TUN routes, so it's not the same as quitting the client. When using direct mode for comparison, the local entry point should still receive requests. To see how the device behaves without the client capturing traffic, run a separate test with traffic capture disabled. Note both direct-mode conditions in your records so you can tell whether capture or the network path caused the difference.
Run a Repeatable Mode-Switching Test
Find the mode selector in the settings or on the home page, then visit a site you can reliably test in rule mode. Use an action that creates a new connection; a cached page isn't evidence. Locate the entry by domain and time on the connections page, and note its rule and route. If the browser reuses a connection, send another request with an explicit proxy command or restart the test app after making sure you won't lose any work.
Switch to global mode, confirm the current global group member, and repeat the request through the same entry point. Don't enable TUN or change subscriptions during this step. If rule mode fails but global mode works, compare whether both requests used the same group. If not, check rule order first. If they appear to use the same group, inspect its members and outbound errors. If both modes fail, also verify the local entry point rather than concluding that the subscription is invalid.
Finally, run the same test in direct mode. If a direct request through the core fails but works with traffic capture fully disabled, compare whether the app sent a domain or destination address to the core, and check how each path resolves it. If direct works but a group fails, inspect the group's current member and upstream responses. When finished, switch back to your everyday mode; don't leave a temporary test setting in place.
Distinguish Node Tests, Real Connections, and Existing Connections
Latency tests on the proxy page usually target an address defined in the configuration. A low latency means that probe completed quickly; it doesn't prove that every site is reachable. A timeout doesn't mean the member is unusable for every task. Judge results using the destinations you actually need and the client logs. Existing connections may continue on their original route after you switch nodes, so compare newly created connections rather than checking whether an old page still receives data.
When troubleshooting an automatic group, remember that health checks may change its selected member. To compare two requests, temporarily use a group where you can select a member manually, record the results, and then restore automatic selection. If you plan to keep using the automatic group, check that its test address suits your network and observe how often the selection changes. Frequent changes can complicate troubleshooting, and more frequent checks don't necessarily make real connections more stable.
Treat proxy mode, traffic capture method, and node testing as three independent variables. Compare modes only after confirming the system proxy points to the right port and you've seen a connection arrive. For a quick comparison, see the three proxy modes compared. For a full walkthrough from selecting a node to checking logs, see the first connection checklist.
Routing Rules: Match Order, Fallbacks, and Local Tests
Understand Top-to-Bottom Matching
In rule mode, the core checks rules in configuration order and usually uses the first match. Put narrow exceptions before broader rules, and place the fallback at the end. If a rule covering an entire domain set comes first, a later rule for one domain in that set won't take effect. After editing, check the rules shown in the client, not just the order in your editor, especially if rules are merged or overridden.
Domain rules work when the domain is preserved at the traffic entry point. An exact-domain rule matches only the specified name; a domain-suffix rule also covers subdomains. IP rules depend on the destination address. If the core sees only a domain, it may perform a lookup to evaluate some IP rules. Adding no-resolve to an IP rule tells the core not to resolve a domain for that rule. It doesn't prevent an already available destination address from matching.
A rule's target can be a built-in action or a proxy group defined in the configuration. Writing a familiar group name doesn't create that group automatically. When renaming a group, check every reference to it. If different sources use similar names, verify which members each group actually contains. To confirm a rule works, check both the matched rule and its target group; fixing the rule alone won't help if the group selects the wrong egress.
Reproduce Rule Priority with a Local Configuration
The following standalone Mihomo test configuration doesn't need subscription nodes. Create a local file, import it into the client, and use an explicit HTTP proxy to test it. Don't enable the system proxy or TUN. First confirm the displayed mixed port and mode match your expectations, since desktop client settings may override file fields. This configuration is for observing rule matching, not replacing your existing subscription. Switch back to your original profile when you're done.
mixed-port: 7897
allow-lan: false
mode: rule
log-level: info
rules:
- DOMAIN,blocked.example.test,REJECT
- DOMAIN-SUFFIX,example.test,DIRECT
- MATCH,DIRECT
Using the explicit proxy command above, visit https://blocked.example.test/ and https://example.com/ separately. The first tests the exact-match reject rule; the domain doesn't need to resolve. The second matches the fallback, and whether it loads still depends on direct access from your current network. If you've changed the mixed port in the client, update the command too. A reject action and a DNS failure can both make the command fail. Use the core logs to tell them apart rather than expecting the same status for both.
To verify rule order, move the suffix rule above the exact-match rule, reload the configuration, and test the preserved domain again. The earlier suffix rule will now catch the request, so the later reject rule won't handle it. The domain may still fail to resolve. Judge the test by the decision recorded in the logs, not by whether a page loads. Restore the original rule order and switch back to your original profile so the test's direct fallback isn't used for everyday traffic.
Add Rule Sets Only After Extending the Test to Real Use
For a production configuration, first list the destinations that must remain reliably accessible, such as local services, work domains, or sites with a specific purpose. Then determine the egress each requires. Use explicit domain or address ranges for a small number of exceptions; don't start with an overly broad suffix. Before checking the fallback, test one destination expected to match an exception and another expected to match only the fallback. Verify both the scope and order.
Remote rule sets help manage large lists centrally, but add variables such as source, format, download status, and update time. First confirm the routing logic with a few local rules, then replace stable sections with rule sets. After adding them, note what the client does when a rule set fails to load and which requests will fall through. If something goes wrong, narrow the test to one domain and one connection, then check whether the issue is the rule content, loading, order, or egress.
TUN and DNS: Verify Routing Before Expanding Traffic Capture
Know When You Actually Need TUN
TUN receives traffic routed by the operating system through a virtual network interface. It's useful for apps that don't read system proxy settings. It isn't a faster proxy mode and doesn't automatically replace the nodes or rules in a subscription. If only a few apps, such as a browser, need proxy access, an explicit or system proxy is often easier to troubleshoot. Add the extra routing layer only when you need to capture apps that bypass the system proxy and your device allows the required permissions.
Before enabling TUN, complete the local proxy test above and note the existing system proxy, VPNs, and critical network services. Corporate VPNs, remote access tools, and security software may depend on their own routes and DNS settings. If you're unsure, check your organization's requirements, and don't change routing during an active remote session. Mobile clients usually capture traffic through the system VPN mechanism, which differs from desktop; don't follow desktop helper-service steps on mobile.
In Clash Verge Rev settings, enable the service or grant permissions as prompted for your platform, then turn on TUN mode. For your first comparison, use only this traffic capture method. If the test app has a manual proxy configured, note it and temporarily disable it so you don't mistake an explicit proxy for TUN traffic. Send a new request, check the connection log, and verify that local services are still accessible. If routing behaves unpredictably, turn off TUN to restore your baseline instead of enabling more options.
Inspect Settings One at a Time; Don't Replace the Entire Subscription
| Setting | Purpose | What to Check |
|---|---|---|
tun.enable | Enable the core's TUN interface | Does the interface override the setting? Has the system granted the required permissions? |
tun.auto-route | Let the core configure the related routes automatically | Do the default egress and local access behave as expected? |
tun.stack | Choose the network stack used by TUN | Compare one setting at a time on the same network; don't change anything else |
tun.dns-hijack | Send matching DNS requests to the core's DNS handler | Does the query meet the matching conditions? Is the app using encrypted DNS separately? |
The client may merge interface toggles with configuration file fields. Adding a line in an editor doesn't guarantee a change to the running state. Automatic routing changes where selected traffic goes. In environments where you need access to an intranet, test internal resources before general traffic. Before adding route exclusions, identify the destination address range and the original network interface it needs to use. Avoid excluding large address ranges, which may cause connections that need TUN to bypass the core.
Note the working state before switching network stacks, and compare only apps that fail reproducibly. Some issues stem from permissions, interface selection, or network changes rather than the stack itself. If a previously working app fails after the switch, restore the original setting and check whether the issue can be reproduced. Don't copy an entire TUN configuration from another device; the same field may have a different scope in a different network environment.
DNS Troubleshooting and Recovery Order
If a site times out while local services still work, check whether the initial lookup is slow or whether the core already has a destination address but can't establish the connection. A browser's built-in encrypted DNS and system DNS may follow different paths; don't infer that ordinary DNS interception also covers those requests. If fake IP mapping is enabled, a temporary destination address generated by the core isn't necessarily an error. Compare the DNS settings with the specific connection record instead of drawing conclusions from a single page test.
If problems start after changing networks, first turn off TUN in the client and confirm the system has returned to its previous routes. Then test the system proxy or an explicit proxy on its own. If only TUN fails, check virtual network interface permissions, routes, and DNS. If both entry points fail, revisit the configuration, group selection, and upstream connectivity. If disabling TUN doesn't fix the issue, look for a leftover system proxy or another VPN and restore the device's original settings. Don't delete network interfaces or reset the entire system network as a substitute for troubleshooting.
Maintenance: Updates, Logs, and Troubleshooting
Update the App, Core, and Subscription Separately
A client update may change the interface, services, or how settings are stored. A core update may change configuration parsing or network behavior. A subscription update mainly changes nodes, proxy groups, and rules. Update one layer at a time so you can identify the cause of any changes. Before updating, back up the working configuration and overrides, and note the listening port, active mode, and working egress. Treat backups as sensitive credentials; don't put them in a public sync folder or upload them with a support report.
The client may bundle its own core, and whether you can switch it separately depends on client support. Don't replace files directly in the app directory with a standalone core. After updating, start the client and check, in order, that the core is ready, the configuration loaded, requests arrive, rules match, and outbound connections work. Begin with a request you've tested before, then verify local access and more complex traffic capture. If a layer fails, keep the logs and address that layer without updating anything else in the same round.
Schedule subscription updates and client upgrades at different times. Before updating a subscription, note the selected group and key members; after the new configuration takes effect, confirm they're still available. To roll back, use a known-working backup and explicitly switch the client to it. If the remote source is temporarily unreachable, there's no need to delete a working local cache. If the content is confirmed to be faulty, pause automatic updates until the source is fixed.
Choose the Shortest Troubleshooting Path for the Symptom
| Symptom | Check First | Next Step |
|---|---|---|
| No new entry for the app's request | Traffic capture entry point, local port, connection reuse | Send a separate request using an explicit proxy |
| Error while loading the configuration | Error field, indentation, rule target | Remove overrides and compare with the original configuration |
| Only some destinations time out | Actual rule, group members, DNS result | Repeat the same request through a known-working egress |
| Network still unavailable after quitting the client | System proxy, leftover traffic capture, original network settings | Restore the original settings and try the connection again |
Before reproducing a failure, narrow the test: use one app, note the current network, and send a request to a stable destination. If the logs are noisy, use timestamps to find the relevant entries, then compare the domain and egress on the connections page. Don't assign a cause based on one warning; automatic retries can produce multiple log lines for the same failure. A note of the first failure time and the last stage reached is more useful than a full session dump.
If the browser works but the terminal doesn't, check whether the terminal has its own explicit proxy, reads proxy environment variables, or uses a tool-specific setting. If the terminal works but the browser doesn't, check browser extensions, manual proxy settings, and bypass rules. Compare matched rules only after confirming that both apps send requests to the same core. Otherwise, the difference may be the traffic entry point, not subscription quality.
If the issue occurs only after waking the computer or switching networks, record the traffic capture settings, default network, and system proxy before and after the change. First create a new connection to rule out an old connection stuck on an unavailable network, then check whether the client works in the new environment. Don't treat a string of unrelated warnings during a network change as a single root cause. Restore settings one at a time, starting with basic connectivity.
Keep Reusable Maintenance Notes
Record the operating system and architecture, actual client and core versions, configuration source, and results before and after each change. Get version information from the client interface or actual startup output; don't infer it from file dates. When reporting an issue, include the shortest reproduction steps, the relevant log lines, and the expected behavior. Remove subscription URLs, personal information, and private domains. After resolving an issue, restore temporary global mode, debug logging, and test ports so they don't become new variables.
Keep a short checklist of recurring checks: whether the core receives requests, group members are valid, key sites and local services work, and the system recovers when traffic capture is disabled. Run it after moving to another device or upgrading, and return to the relevant section if anything fails. For intermittent issues that are hard to reproduce, check Common Questions, then use the checklist to gather the missing logs and system details.
Advanced Topics: Layered Configurations, Verification, and Sharing Safely
Separate Stable Rules from Updatable Sources
The base subscription manages upstream nodes, groups, and rules. Maintain local device settings—such as ports, traffic capture, and business exceptions—separately instead of editing generated output after every update. For simple changes, prefer the client's supported override feature and confirm whether it replaces an entire list or adds entries to it. After updating, check the final rule order, especially whether your exceptions ended up after broad rules or the fallback.
Before making changes, label each override with its purpose, such as “keep local services direct” or “check egress for a specific app.” Give each change one responsibility so you can disable it for comparison. A test configuration with a direct fallback shouldn't be the basis for everyday use. Keep everyday rules connected to valid subscription references while reserving a clear place for your exceptions. For just one or two adjustments, a local configuration copy is usually easier to maintain than a script.
Don't tightly couple the runtime configurations for a work computer, personal computer, and phone into one file. Shared routing intent can reduce maintenance, but listening addresses, LAN permissions, system DNS, and virtual network interface settings should remain platform-specific. When replacing a device, migrate only the necessary business rules, then recreate local settings on the new device. Routes, port conflicts, and permissions from the old device aren't universal defaults.
Manage Complex Changes with a Verification Sequence
When running Mihomo on its own, you can start by running its configuration test command in a test directory. Check the local help output for what each argument means. The example assumes the current directory contains a readable config.yaml and the command is available in your terminal. Don't point the test at the data directory used by the client. If the configuration depends on rule resources or providers, make sure the required files are available and review the test output. A successful command confirms only that this configuration test passed; it doesn't replace a request test.
mihomo -t -d . -f ./config.yaml
If you don't run the core separately, use the client's supported import and reload process. Test the configuration, exception rules, DNS, and traffic capture separately: first confirm the configuration loads, then test one request expected to go direct and one expected to use a policy group, and finally enable TUN and verify LAN access. If you've only changed DNS settings, there's no need to switch egress at the same time. Holding other variables steady makes problems easier to trace.
When maintaining rule groups that change frequently, record expected results alongside the configuration. For example, a business domain should match an exception, while an ordinary domain should reach only the fallback. After each change, send a small number of new requests and check the connection log. If a rule set is maintained by an external source, note its purpose and what kind of failure is acceptable. That way, if it temporarily fails to load, you can tell normal fallback behavior from a critical request taking the wrong route.
Keep Defaults Local; Open Access Only When Needed
For local proxy use, keep the listener bound to the local machine and leave LAN access disabled. The mixed port accepts proxy requests, while an external control interface may read status or change settings. They aren't the same service and shouldn't share the same access controls. If you need to share over a LAN, first confirm that the devices and network are trusted, then restrict the listening scope, allowed sources, and firewall rules, and enable authentication if supported. Don't expose the control interface or local proxy port to the public internet.
After enabling sharing, test whether a specific app can connect from an allowed device, and confirm that interfaces that shouldn't be shared remain restricted. If access fails, check the address, port, and allowed source range instead of widening access to troubleshoot. Once temporary sharing is complete, turn it off and confirm that previously allowed devices can no longer connect. For local testing, continue to use the loopback address rather than relying on LAN access.
Advanced work isn't about enabling more features; every change should have a clear purpose, a way to verify it, and a rollback plan. Regularly remove overrides and route exceptions that are no longer needed, and keep stable entry points and test methods somewhere you can access. When using a new device or network, return to the connection baseline and verify it again. Once you can trace a request, re-enable only the features you actually need in the new environment.