Permission types and what triggers them

Note the prompt title, the requesting app, and which setting you changed just before it appeared. Enabling the system proxy, starting TUN, and reading saved credentials are separate actions. Clients may use the same mihomo core, but how they route traffic, store credentials, and start background services depends on the client.

Find the right settings based on the prompt
PromptCommon triggerCheck first
Enable a network extension or add a VPN configurationFirst-time activation of a tunnel feature implemented this wayExtensions or VPN lists in System Settings
Access an item in KeychainRead saved credentialsThe item name in the prompt and the app requesting access
Install or enable a helper toolStart a client feature that needs additional system permissionsClient service status and system background items
Change network settingsSet or restore the system proxyThe Proxy settings for the network service currently in use

If you only want browsers that honor the system proxy to use the proxy, test the system proxy first. Test TUN separately for apps that ignore it. This triggers one type of action at a time and makes it easier to reproduce a denied prompt.

Network extension and VPN configuration approval

The system proxy sets an HTTP, HTTPS, or SOCKS proxy address for a selected network service; whether an app uses it depends on the app. TUN uses a virtual interface and routing to capture traffic, then the client selects an outbound connection based on its rules. Some clients start tunnels through Network Extension, while others use the core and a privileged service, so enabling TUN does not always show the same prompt.

  1. Open the installed client from Applications, then enable TUN in the client. If an authorization prompt appears, check the app name shown and the feature you just enabled.
  2. On macOS 15 or 26, if you’re asked to enable a network extension, open System Settings → General → Login Items & Extensions and check Network Extensions. If the prompt specifically directs you to an approval control under Privacy & Security, verify the developer and the item awaiting approval there.
  3. If the prompt asks to add a VPN configuration, approve it, then search for VPN in System Settings and check whether the configuration was added. A configuration being registered does not mean the tunnel is connected. Return to the client, enable the feature again, and check its connection status.
  4. If you previously clicked Don’t Allow and the corresponding item is missing from the list, quit and reopen the client, then repeat the action to trigger a new request. If the setting says it’s managed by your organization or the control is dimmed, note the message and contact your device administrator.

Settings layouts vary across macOS 13, 14, and newer releases. Use the System Settings search field to find VPN or Privacy & Security. If the client documentation says TUN requires service mode and the logs only report that the service isn’t running, check the helper tool instead of repeatedly searching the extensions list for an entry that isn’t there.

Keychain access and repeated prompts

A Keychain prompt usually refers to a specific item, such as account credentials saved by the client. First note the item’s name, then confirm the request comes from the client you just launched or one of its verified components. If the name and action match, choose Allow for a one-time test. Always Allow affects the app’s future access to that item, so use it only after confirming why it’s needed.

Retry the action that was denied

  • If denying access only caused a subscription update or account sign-in to fail, retry that action in the client. If the prompt appears again, check the item name to confirm it’s related to what you’re doing. Importing a local configuration and reading saved credentials can be tested separately.
  • If macOS says the login Keychain is locked, use Spotlight to open Keychain Access, select the login Keychain, and try unlocking it. After a recent login password reset, the old Keychain may still use the password set when it was created or last changed. Repeatedly entering your current account password usually won’t resolve this mismatch.
  • If the same item prompts you after every upgrade, first confirm you’re launching the expected version from Applications, not another copy in a disk image or Downloads folder. If you can find the item in Keychain Access, check its name, account, and Keychain before deciding whether to have the client save the credentials again.

Enter your Keychain password only in a system dialog you’ve verified. Before deleting an item or resetting the default Keychain, confirm you can restore any affected credentials; a reset affects far more than a single client.

Installing helper tools and restoring background services

Some clients delegate tasks that need extra privileges, such as changing routes or starting TUN, to a helper tool. If macOS asks for administrator authentication, verify the requesting app shown in the dialog and make sure the prompt appeared after you chose to install or repair the client service. The client menu may call this Service Mode or Install Service; use the option shown in your version.

  1. Check the service status in the client’s settings. If it isn’t installed, use the client’s installation option, complete the system authorization, and check the status again. A standard account needs permission to use administrator credentials, or an administrator must perform the action.
  2. If the service is installed but its background component isn’t running, open System Settings → General → Login Items & Extensions on macOS 15 or 26 and check the background activity list. Restore a disabled item only if you can confirm it belongs to the current client, then test again.
  3. If the logs report a helper service connection failure after an upgrade, turn off TUN first, then use the current client’s service repair option or uninstall and reinstall the service. Quit the client completely and reopen it, confirm the service status, then turn TUN back on.

The background activity list and Open at Login are separate settings: adding a startup item does not install a privileged helper tool. If the error occurs when macOS first opens the client, handle the app launch warning first; check the service installation only after the main window opens normally. Manually deleting system service files can interfere with repairs, so use the client’s built-in uninstaller whenever possible.

Verify the proxy and TUN after authorization

System proxy: check the active interface and listening port

Turn off TUN and enable the system proxy. In System Settings → Network, select the service you’re using, such as Wi-Fi, then choose Details → Proxies and check the enabled type, address, and port. You can also check the current system proxy settings in Terminal:

scutil --proxy

For example, if the client uses port 7890 as a mixed listener and has configured an HTTP system proxy, check that HTTPEnable is 1, HTTPProxy is 127.0.0.1, and HTTPPort is 7890. If the configuration uses an HTTPS proxy setting or SOCKS, check the corresponding fields; the port should match the client’s current listening port. These fields only confirm that the proxy is registered. Make a new request in your browser, then check the client’s connection log for the destination domain, matched rule, and outbound connection.

TUN: test separately with the system proxy off

Keep the client running, turn off the system proxy, and enable TUN. Choose an app you’ve confirmed does not use its own proxy, then make a new connection to a known-reachable domain. To test from Terminal without proxy environment variables affecting the request, use:

curl --noproxy '*' -I --max-time 10 https://example.com/

Receiving an HTTP response only shows that the request reached its destination. Find the corresponding entry in the client’s connection log by timestamp and check whether the rule selected a direct or proxy outbound connection. The presence of a utun interface alone does not prove that the current client is capturing traffic; other VPNs or system services may create these interfaces too. If the system proxy test succeeds but TUN produces no matching log entry, first check that the service is running, that the destination isn’t excluded by routing, and that another VPN isn’t capturing the same traffic.

Turn features off and restore connectivity

To undo the changes, turn off TUN and the system proxy in the client first, then quit the client. If you’ve switched between Wi-Fi and Ethernet, check the Proxy settings for the active service. If they still point to 127.0.0.1:7890 and nothing is listening there, restore the settings you noted before making changes. Keep any proxy and automatic proxy settings required for your work network.

Before removing a VPN configuration or helper service created by the client, confirm it belongs to that client, then use the client’s cleanup option or the corresponding system settings. Make one change at a time and test the connection after each. When reporting an issue, include the macOS and client versions, the action that triggered the problem, the prompt title, and redacted logs. Keep subscription URLs and Keychain contents on your device.