Ingredients
- The "External controller" switch in FlClash's settings
- A secret of your own (the longer the better)
- A web dashboard that speaks the Clash API, such as metacubexd or zashboard
What it does
The external controller is an HTTP interface provided by the mihomo core, usually on port 9090. Once on, a web dashboard can connect to it to show live connections and traffic graphs, switch nodes and test delays. FlClash's own interface is already complete, so the external controller is mainly for:
- watching this computer's FlClash from another computer;
- using a web dashboard you prefer;
- scripts that switch nodes automatically.

Steps
- FlClash settings → turn on the external controller; keep port 9090 or choose a free one.
- Set a secret. Without one, anyone who can reach it controls your proxy.
- Open the web dashboard, enter
http://127.0.0.1:9090as the backend and the secret you set.
curl -H "Authorization: Bearer your-secret" http://127.0.0.1:9090/versionA version number in reply means the interface works.
This machine only, or the local network
| Listening on | Who can connect | Risk |
|---|---|---|
| 127.0.0.1 | Only this computer | Low |
| 0.0.0.0 or a LAN IP | Every device on the same network | On public Wi-Fi others can find it too |
The web dashboard says the connection failed?
Usually the secret is wrong, or another program holds the port. Check with the workshop's port check.
Does the external controller slow FlClash down?
No; the interface only works when something calls it.