Configuration Reference · mihomo Core

Advanced Clash Configuration Guide

Proxy groups, rule providers, DNS, TUN, domain sniffing, subscription overrides, and local control

If you haven’t imported a subscription or connected for the first time yet, start with the quick-start guide. This page is for readers who already have a working connection and want to change a specific part of the configuration. The core handles connections; the client provides the interface for managing it. Examples below use mihomo syntax and may include fields that aren’t available in every client.

Routing decisions

Proxy group types and practical use

Decide where a rule should send the connection

Proxy groups determine which outbound connection to use after a rule matches. A rule can send traffic directly or point to a proxy group, which then selects a node or another group. Think of rules as assigning traffic and groups as choosing its route. For example, if a service needs a consistent route but must be easy to switch during maintenance, give it a dedicated group. You can then change that service’s outbound route without editing every domain rule or affecting other apps.

First, make sure the client has loaded the configuration and is in Rule mode. Global mode uses a single global policy instead of routing traffic according to individual rules; Direct mode isn’t suitable for testing proxy groups either. To choose a client, visit the client downloads page and find your platform. Clash Plus is the recommended choice on supported platforms. To follow this chapter, make sure your client lets you edit or override the mihomo configuration. If its interface only offers proxy selection, don’t paste custom YAML into the subscription URL field.

Choose a group for the routing behavior you need, not its speed test results

Common proxy groups and when to use them
Group typeHow it selectsWhat to check
selectChoose an outbound manuallyIs the current selection the one you last chose?
url-testChoose based on test resultsTest URL, interval, and switching tolerance
fallbackPrefer available outbounds in orderAre members ordered to match primary and backup routes?
load-balanceDistribute connections according to a load-balancing strategyDoes the service need a consistent outbound route?

A manual group is useful for troubleshooting and for services that need a consistent outbound route. A URL-test group evaluates candidates using its test URL, so the result reflects access to that URL—not the speed of every website. The interval is usually measured in seconds; tolerance allows for small latency differences to avoid repeatedly switching between similar routes. Choose a test URL that responds consistently, allows periodic requests, and is reachable through the intended outbound. Shortening the test interval doesn’t necessarily improve service and can generate a lot of probe traffic.

A fallback group relies on member order and availability, not on putting the fastest node first. If you have a preferred route, list members by priority, then test how new connections switch to the backup if the preferred route fails. Load balancing distributes connections; it doesn’t split a single download across multiple routes. Even with a strategy that aims to keep connections to the same destination consistent, an app’s login, API, and file requests may use different domains. If a service session depends on its outbound IP address, a dedicated manual group makes issues easier to isolate.

Start with a test group

The snippets below form a test configuration you can save on its own; no subscription nodes are needed. Add an exact match for example.org, reserved for documentation, and send all other traffic directly. Select Direct and make a new request, then switch the group to Reject and try again. Focus on the actual match shown in the connection log, not the speed. When adding this to an existing configuration, merge each root field by name; don’t add a second rules section to the same file.

mode: rule

proxy-groups:
  - name: Test outbound
    type: select
    proxies:
      - DIRECT
      - REJECT

rules:
  - DOMAIN,example.org,Test outbound
  - MATCH,DIRECT

After testing, create the group you’ll use in production. If candidates come from top-level proxies, list the exact node names under proxies in the group. If they come from proxy-providers, you can reference the provider with use. A reference doesn’t mean a candidate has already been selected: first confirm that candidates have loaded, then check that the group’s current selection is the one you expect. Groups can be nested, but don’t create circular references. Deeply nested groups make it harder to trace the outbound; flatten one level when troubleshooting.

After replacing a subscription, a group with a similar name may not inherit the previous selection. When profile.store-selected is enabled, the core can save proxy selections, but if the old name isn’t in the new configuration, you still need to open the group and check its current member. Changing the selection doesn’t guarantee that existing connections will move over; a browser may reuse an existing session. Close the test app’s relevant connections or restart it, then retest the same destination. Record the rule, group, and final outbound to see which layer changed.

Match boundaries

Manage rules with rule providers

Keep match lists separate from outbound configuration

A rule provider is a separately updatable list of match conditions. Define its source with rule-providers, then reference it in rules using RULE-SET. The provider name is an identifier in the configuration, not a proxy group name. The rule that references it determines which outbound handles a match. This lets you reuse the same list in two configurations: a work configuration can send matches to a dedicated group, while a test configuration sends them directly so you can check what matches. The list itself doesn’t choose an outbound.

Check the actual contents before choosing a rule list format. Domain-based lists are suited to hostnames; IP-based lists are suited to destination addresses that have already been resolved. Both are easier to review than a mixed list. Use the classical format when you need to maintain different rule types, such as domain suffixes and IP ranges, together. Don’t infer the format from a repository’s title: a project may publish several formats, and the client may download a file successfully but fail to parse it if you choose the wrong one.

Rule provider formats and entry examples
BehaviorMatchesExample entry
domainDomain patterns+.example.org
ipcidrIP address ranges192.0.2.0/24
classicalRules with type prefixesDOMAIN-SUFFIX,example.org

Test the reference with a local file first

Use the local YAML below to build a minimal test. Create a rules subdirectory in a location the core can read from its working directory, then save the second snippet as rules/lab.yaml. Some GUI clients use a separate data directory, so the configuration file’s folder may not be the base directory for relative paths. If the log says the file can’t be found, open the client’s data directory to check its location and permissions before changing the path. The example sends matches directly; check the logs to confirm the rule provider matches before replacing it with a production group.

rule-providers:
  lab:
    type: file
    behavior: classical
    format: yaml
    path: ./rules/lab.yaml

rules:
  - RULE-SET,lab,DIRECT
  - MATCH,DIRECT
payload:
  - DOMAIN-SUFFIX,example.org

To switch to remote updates, set the provider type to http, use the maintainer’s full file URL as url, assign a separate path for the downloaded cache, and set the refresh interval in seconds with interval. Read YAML output as YAML; use text for plain text. For the binary mrs format, confirm that the core supports it and that the behavior is for domains or IP ranges. Simply changing a classical rule list’s file extension doesn’t turn it into a binary rule set.

Treat the first load and scheduled refreshes as separate checks. If a cached copy is already present, rules continuing to match doesn’t prove that the remote update succeeded. Check the provider’s last successful update time and logs, then see whether the source file was moved, now returns a login page, or changed formats. If downloads depend on a proxy, consider the startup order too: if choosing the route needed to fetch the list depends on that same list, start with a small set of local rules to make the update URL reachable before enabling the remote provider.

Rule priority and unexpected matches

Regular rules are checked from top to bottom, and the first match wins. Put specific exceptions before broader rules and add the catch-all MATCH last. For example, if a domain suffix should generally go to a service group but one host should connect directly, put the exact match first. For IP range rules, consider whether the core should resolve domain-based destinations to check them. For address rules that support no-resolve, this option prevents an extra DNS lookup for that rule; it can still match when a destination address is already available. It isn’t a global DNS switch.

After updating a list, test three destinations: one that should match a specific exception, one that should match the list, and one that should fall through to the catch-all. Use new connections and check the matched rule and policy; a webpage loading successfully doesn’t prove routing is correct. If a large number of services suddenly use the same outbound, check whether the list recently expanded its suffix coverage, then look for overlapping lists of the same kind and their order. If a match entry is unfamiliar, revisit the proxy mode section of the guide to confirm the current mode, then inspect the rule contents.

Name resolution

Optimize DNS configuration

Find out which component is handling the query

DNS translates domain names into addresses used to make network connections. Enabling DNS in the core only means the core can handle queries; it doesn’t mean the system and apps send every query to it. The system proxy usually affects only apps that respect system proxy settings. Browser Secure DNS, encrypted DNS configured at the OS level, and apps with their own resolution logic may take a different path. If results differ between components, first identify whether the query went through the app, OS, or core, then check whether the upstream settings took effect.

For troubleshooting, choose a known test domain and change one thing at a time. First note whether the OS can resolve it in the original setup, then check whether the client receives the corresponding request. Next, check the logs to see whether the upstream timed out, the domain wasn’t logged, or a result was returned but the connection failed afterward. It’s easy to confuse the last two layers: treating a failed connection as a DNS issue and changing upstreams at random may change which service address you reach without fixing the actual routing issue or invalid certificate.

Distinguish regular upstreams, proxy node resolution, and domain-specific exceptions

Common mihomo DNS fields
FieldPurposeWhen to change it
nameserverProvide upstreams for regular DNS resolutionFirst check that these upstreams are reachable on the current network
default-nameserverResolve hostnames used by upstream serversWhen using encrypted DNS with a hostname
proxy-server-nameserverResolve the server hostname used by a proxy nodeWhen node address lookups need to be separate from regular queries
nameserver-policySpecify an upstream for matching domainsFor corporate intranet domains or other names that need separate resolution

The example enables a DNS listener on the local machine only and uses redir-host to return real addresses for comparison. Upstreams are written as IP addresses, so the example doesn’t need to resolve upstream hostnames first. If you switch to DoH with a hostname—DNS over HTTPS—make sure bootstrap resolution can return the service’s address without depending on that DoH service, which isn’t reachable yet. The example uses a nonstandard DNS port, making it suitable for explicit testing without changing system network settings.

dns:
  enable: true
  listen: 127.0.0.1:1053
  enhanced-mode: redir-host
  nameserver:
    - 223.5.5.5
    - 119.29.29.29

If dig is installed on your machine, specify the address and port to send a query. By default, it requests IPv4 address records. To compare IPv6, append AAAA to the command to specify the query type. If a regular system query succeeds but this one times out, check whether the configuration loaded, whether the port is already in use, and whether the upstream is reachable. A successful query to an explicitly specified local port proves only that the DNS listener works. To confirm an app actually uses it, visit the same domain from the app and check the logs.

dig @127.0.0.1 -p 1053 example.org

To configure split DNS, use nameserver-policy to route specific internal domains to the internal DNS server provided by your environment; don’t send every domain there. This setting chooses the DNS resolver; rules still determine whether the resulting connection goes direct or through a proxy. If proxy node servers use hostnames, make sure those names can be resolved without relying on the nodes themselves. Consider respect-rules only if DNS connections also need to follow routing rules, and configure proxy-server-nameserver as required by the core to avoid a startup dependency loop.

Distinguish the DNS path, the resolved address, and connection errors

Multiple upstreams don’t necessarily work as primary and backup in the traditional sense. In particular, don’t assume fallback is queried only after a regular upstream fails; understand how fallback-filter affects result selection too. If results change frequently, establish a baseline with one known-reachable upstream, then add a second path for specific domains. When checking caches, distinguish the OS, app, and core caches. Restart the test app if needed and wait for old records to expire; don’t draw conclusions from requests that are still being reused.

To troubleshoot a Clash DNS leak, check where queries are actually sent and which resolver receives them—not whether a webpage loads. Plain DNS on port 53 is different from encrypted DNS, which an app may send as a regular encrypted connection. If a tool lists unexpected resolvers, first check your browser settings, then compare them with the client’s DNS logs. If you see an untrusted certificate or a hostname mismatch, keep certificate verification enabled and follow the HTTPS certificate error troubleshooting guide. Changing DNS settings alone doesn’t prove the certificate chain is trusted.

Traffic handling

TUN & Fake-IP

Test traffic capture and DNS resolution separately

TUN is a virtual network interface used by system routing. It gives apps that don’t read system proxy settings a way to send connections to the core. TUN handles how traffic enters the core; Fake-IP is a DNS mode where the core returns a synthetic address to the app and keeps a mapping to the domain, so it can recover the destination after traffic enters. Enabling one doesn’t automatically enable the other. If the system proxy already meets your needs, keep using it; you don’t need to enable TUN just to route traffic by rules.

Before you start, save your current proxy mode, network interface, and DNS settings, especially if your machine uses other network management tools. Desktop clients often need a service component installed or permission to manage network interfaces. On mobile, an app may use the system VPN interface for traffic handling and may not expose fields with the same names. If a toggle immediately switches back off, check system permissions, interface creation logs, and whether another VPN is already using the connection method before replacing a subscription or changing ports.

The two snippets below are intended to be added to a working mihomo configuration. If it already has a tun or dns section, merge these fields into the existing section instead of repeating the root key. First enable TUN only, keeping the working DNS configuration, and confirm that new app connections appear in the client. Then add the Fake-IP fields and check whether the same core can resolve synthetic addresses back to their mappings. If your DNS upstreams are already working reliably, keep the existing settings.

tun:
  enable: true
  stack: mixed
  auto-route: true
  auto-detect-interface: true
  dns-hijack:
    - any:53
    - tcp://any:53

dns:
  enable: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter:
    - localhost
    - +.lan

Understand routing, the network stack, and the scope of DNS interception

auto-route tells the core to try to install the required routes; auto-detect-interface helps identify the outbound interface and reduces the chance of traffic returning through the virtual interface. On machines with Ethernet, Wi-Fi, and a VPN, the default interface may change when the network changes. If connectivity fails after waking the machine from sleep or returns only after unplugging Ethernet, compare the default route and outbound interface before and after the change, then decide whether to specify an interface for that environment. Before changing routes on a remotely managed machine, arrange a separate way to recover access.

stack determines how data received by the virtual interface is handled. system uses the system network stack, gvisor uses a user-space network stack, and mixed combines the two implementations. Choose based on the target platform and tests with the protocols your apps actually use, not a single webpage load time. If issues affect only voice, gaming, or other UDP-dependent apps, first check whether traffic is being captured and whether the selected policy or node supports UDP. Then compare network stacks without changing the other settings.

Here, dns-hijack means sending matching regular DNS requests to the core; the example covers both UDP and TCP on port 53. It doesn’t turn encrypted DNS requests into regular queries or guarantee that requests outside the virtual interface will be captured. Discovering devices on the local network is a separate issue; some discovery mechanisms use multicast rather than regular DNS queries. If file sharing or printing suddenly stops working, first test whether local network addresses are reachable, then distinguish name resolution, multicast discovery, and routing conflicts.

Handle exceptions and fallbacks for synthetic addresses

Fake-IP relies on a mapping shared between DNS queries and connections: the app gets a synthetic address, then the core maps it back to the known domain when the connection arrives and uses that domain for routing. If the OS cache still has an old synthetic address but the current core instance doesn’t have its mapping, connections may fail briefly after a restart. First resolve the domain again and reopen apps that may be reusing old connections, then check whether the core can recover the domain. Make sure the reserved synthetic address range doesn’t conflict with routes on your local network. Don’t use an address range already in use on a work network as a synthetic pool.

If an internal service requires its real address, add the specific domain to fake-ip-filter and check whether it returns a real address and still needs internal DNS. The filter controls whether an address is synthetic; it doesn’t choose the outbound. You still need a routing rule for direct connections. Start with the narrowest necessary exception, and expand it to a suffix only if subdomains have the same requirement. With broad filtering, connections routed by domain may depend more heavily on domain information retained by the app.

Destination identification

Domain sniffing

Use sniffing to fill in a domain only when a rule needs one

Domain sniffing infers the destination domain from protocol fields visible early in a connection. For example, plain HTTP may include a Host header, while a TLS handshake may include SNI, the server name the client says it wants to reach. Sniffing can help when the core has received a connection but shows only an IP address as its destination. If the connection isn’t in the logs at all, check the system proxy or TUN first; sniffing can’t recover traffic the core never received.

DNS and sniffing get domain names from different sources. When an app uses Fake-IP after querying DNS through the core, the domain can often be retrieved from the mapping without inspecting protocol headers. Other apps may use their own DNS or connect directly to a saved address, leaving the core without a related query. In that case, sniffing may help domain rules match if the unencrypted part of the protocol includes a domain. It can’t identify every address, and a single address may host multiple sites.

Sniffing doesn’t decrypt HTTPS, require a new root certificate on the system, or reveal page content protected by TLS. Connections using encrypted client hellos may hide the actual server name. Custom protocols, nonstandard ports, and connections without domain fields may also have no usable result. In those cases, accept that rules can only use available information and fall back to IP ranges, match conditions appropriate for the app, or a catch-all policy. Don’t disable certificate checks to expose fields.

Compare before and after with a narrowly scoped configuration

The example tests common web ports and first disables global destination overrides. This lets you observe changes to detected names and rule matches while preserving the destination originally chosen by the app as much as possible. The configured ports are the destination service ports, not the client’s proxy listening port. When sniffing IP-only connections, the example can extract a name only if the traffic enters the core and matches one of the specified protocols and ports.

sniffer:
  enable: true
  parse-pure-ip: true
  override-destination: false
  sniff:
    HTTP:
      ports: [80, 8080-8880]
    TLS:
      ports: [443, 8443]
    QUIC:
      ports: [443]

ports accepts individual ports and ranges; listing more ports doesn’t make results more reliable. If you only need to handle traffic on specific ports, narrow the range to reduce unrelated connections being inspected. QUIC is a common UDP-based transport protocol, so don’t use TCP connection logs as a comparison when testing it. Apps may fall back to TCP when network conditions change. Confirm the actual transport protocol before deciding whether QUIC sniffing helps.

override-destination determines whether a sniffed domain replaces the actual destination; it affects more than what appears in the logs. Enabling it may change subsequent resolution and connection addresses, so use it only when there’s a clear need. Set it for the required protocols and retest rather than turning it on globally just to make logs look better. For services accessed through an internal address that declare a public domain name, overriding the destination may send new connections away from the intended internal address. For skip-domain, list only domains you’ve confirmed need to be excluded; don’t use a broad suffix as the default exception.

Use connection logs to decide what to keep

Make two new connections from the same app. First, disable sniffing and record the destination and matched rule. Then enable the example and check whether a name was detected, whether it’s the expected one, and whether the rule changed. For connections with existing DNS mappings under redir-host, consider force-dns-mapping only if sniffing is clearly needed to supplement the match. Don’t layer destination overrides, forced handling, and new rules all at once; even if access is restored, you won’t know which change made the difference.

If a detected name still hits the catch-all, first check whether the rule matches an exact domain or a suffix, then review the rule type and order. If an app actually connects to an API domain but your test rule names the website’s main domain, the latter won’t match as a result. A service may use many separate connections; record requests for assets, APIs, and authentication separately instead of checking only the initial page load. For connections that still show only an IP address, a clearly defined catch-all is safer than forcing a shared service IP to map to a particular domain.

Configuration maintenance

Local overrides and merging subscriptions

Keep the source config, local changes, and final output separate

An override applies configuration changes maintained on your machine on top of subscription content. That way, subscription updates can replace nodes and upstream rules without requiring you to re-enter local exceptions, proxy group structure, and debugging settings each time. Keep track of three versions: the original config returned by the subscription service, the local override, and the final config passed by the client to the core. If a change disappears after an update, don’t just check whether the editor saved it; check whether the override is still linked to the subscription and whether the field appears in the final config.

Clients handle fields in overrides differently. Lists in particular may be replaced wholesale or placed at the beginning or end, depending on the tool. There’s no universal YAML field that automatically inserts new rules at the top in every client. First test the merge direction with a local rule for a domain you can safely identify, then confirm in the output list that it appears before the catch-all. Also check whether mappings merge key by key: if your override includes just one DNS subfield but the tool replaces the entire dns section, the subscription’s upstreams and filters may disappear too.

If your client doesn’t support overrides or show the final config, save a separate test config and move changes over one at a time to launch it independently. Don’t rely on temporary manual edits as a long-term solution that will follow subscription updates. Change one layer at a time—for example, confirm the position of local rules before changing DNS. After testing, record which keys are managed by the subscription and which are controlled locally. Comparing the loaded result before and after an update makes it easier to identify whether a scalar, object, or list was replaced.

Check whether subscription content can be used as a proxy provider

When combining two sources, a more maintainable approach is to keep one main config and use proxy-providers to manage nodes from different sources, so local rules and proxy groups are defined only once. A full subscription config and a node provider aren’t the same thing. If a source file includes rules, proxy groups, and DNS settings, or references other providers, those settings won’t automatically take effect just because you use the whole file as a node source. First confirm that the provider input is a node list the core can parse, then explicitly move the proxy groups and rules you need into the main config.

This example assumes you already have two local node provider files. Save the nodes you’re authorized to use in two files that the core can read from its working directory, with each node list under the top-level proxies key. Give each provider a different key and path, then reference them in a proxy group using use. The example sends only example.org to the combined group; all other traffic stays direct. This keeps baseline connectivity working for other destinations even if one source hasn’t loaded yet.

mode: rule

proxy-providers:
  source-a:
    type: file
    path: ./providers/source-a.yaml
  source-b:
    type: file
    path: ./providers/source-b.yaml

proxy-groups:
  - name: Combined outbound
    type: select
    use: [source-a, source-b]

rules:
  - DOMAIN,example.org,Combined outbound
  - MATCH,DIRECT

Resolve naming conflicts and verify updates

If both sources contain a node with the same name, don’t rely on their order to tell them apart. Add a source-identifying prefix to the node lists, or use a provider renaming option you’ve confirmed is supported, then check the config for references to the old names. Give proxy groups, rule providers, and node providers clear names too. When merging full configs, don’t leave two groups with the same name and expect rules to know which one to use. After renaming, check rules that refer to those groups and members referenced by other groups.

For the first merge, load each source separately and confirm it has members. Then use the combined group to test one outbound from each source. Confirm that apps connecting directly by IP still use the expected catch-all, then simulate a subscription refresh. If the group is empty afterward, check whether the source returned an error page, whether the node file still has the expected format, and whether filters excluded every member. If only the previous selection is gone, compare the old and new node and group names. A config parsing successfully and a policy selecting the expected route are separate acceptance checks.

Make update responsibilities part of your maintenance routine. For example, let the subscription update node lists and keep rule priority and local network exceptions in the local config. A reachable address doesn’t mean a config is safe to share when backing it up or migrating it; subscription URLs and node configs may contain credentials. Limit reproduction bundles to redacted field structures and error logs. To understand the respective roles of clients and cores, see the Clash open-source ecosystem overview.

Local management

External controller

Distinguish the proxy listener, controller API, and dashboard

The external controller is an API provided by the core for management tools. It can read some runtime information and, with authorization, perform actions such as changing proxy selections. A dashboard is an interface that uses this API, not a new proxy core. The proxy listener accepts connections from apps; the controller API accepts management requests and uses a different port and permissions. Setting a browser’s system proxy to the controller API won’t give you proxy access, and a dashboard that can’t connect doesn’t mean routing rules have stopped working.

First check whether the client includes a management interface; you’ll usually want to use it to view logs and change group selections. If you need a separate dashboard or command-line diagnostics, check whether the client lets you configure external-controller. Some GUI clients manage the controller port themselves and inject the API address or credentials. Use the information shown by the client and the core’s actual config; don’t blindly override it. For temporary testing, use a different local port to avoid conflicts with an existing management instance.

Bind to localhost and start with a read-only check

The following is a top-level config snippet. 127.0.0.1 is the loopback address, so listening on it prevents other devices from accessing the API through that address. The example password is for demonstration only; set a unique, strong, randomly generated password on your device before enabling the controller, and don’t publish config files or logs. After confirming the client hasn’t replaced these fields, reload the configuration and check the logs for port conflicts or listener failures.

external-controller: 127.0.0.1:9090
secret: "example-only-not-a-real-secret"

On the same machine, use the command below to check the read-only version endpoint. Use a secure local method to put the actual password in the current session’s MIHOMO_API_SECRET environment variable so it isn’t written directly into command history. --noproxy 127.0.0.1 makes this request bypass any proxy set through environment variables. Clear the variable after testing, and don’t attach requests containing authentication headers to tickets or screenshots.

curl --noproxy 127.0.0.1 \
  -H "Authorization: Bearer $MIHOMO_API_SECRET" \
  http://127.0.0.1:9090/version

If the connection is refused, first check the port and whether the controller is listening. For an authorization error, check the credentials and request headers. If you receive another service’s HTML, check whether the request reached a different process. If the response reports a different version than the client expects, first check whether two core instances are running at once. Confirm that you’re connected to the correct core before opening a dashboard; otherwise, changing groups or disconnecting may affect a different running configuration.

Dashboard files, browser restrictions, and day-to-day use

For a local static dashboard, place trusted files in a directory the core can access and set external-ui to the directory containing the entry page. When the core serves the dashboard, the usual entry point is /ui/ on the local controller address. If the page isn’t found, check whether the API works but the static file path is wrong, or whether the entire listening address is incorrect. Serving the dashboard from the same origin can reduce browser cross-origin restrictions and avoids giving a remote hosted page your controller credentials.

When using a bundled or local dashboard, enter the correct protocol, host, port, and password for its actual address. A browser blocking a request and the core rejecting credentials are different issues. If the command line can retrieve the version but the dashboard can’t get status, first check the browser console for cross-origin or mixed-content issues. Also consider browser restrictions on pages accessing local addresses. Allow cross-origin requests only from a dashboard you trust; don’t use a wildcard to bypass troubleshooting. CORS isn’t API authentication and doesn’t replace binding to localhost.

The dashboard’s “Switch proxy” control usually changes the current runtime selection; it doesn’t edit the subscription file or local override. After a config refresh, the result may depend on whether the selection was saved and whether the new group contains a member with the same name. To troubleshoot, start with the connection log. Choose a new connection related to the issue and check its rule, destination, and proxy chain, then try a narrowly scoped selection change. Don’t clear all connections as a substitute for diagnosis; other apps may be transferring files or keeping live sessions open.