Mihomo, Windows Tun
Box For Root, Android Tun
Mihomo Docs, for reference
Dirs:
-
box_for_root
-
custom-rules
-
metacubexd - Metacubexd
···
-
mihomo.startup.vbs - .VBS for silent start
-
Mihomo StartUp.xml - Windows Task Scheduler backup file
-
update-geo-files.bat
-
update-metacubexd.bat
Windows Tun Mode Usage:
- Clone the repository using git, or just click Code -> Download ZIP, then Extract.
- Modify
proxy-groups
,proxy-providers
, and maybe something else inconfig.yaml
. - Change Mihomo's core path in
mihomo.startup.vbs
- Change paths in
update-geo-files.bat
、update-metacubexd.bat
. - Modify
mihomo-windows-amd64.exe
's compatiable settings, tick "admin permission". - Double click
mihomo.startup.vbs
to run, allow admin permission. - Controller dashboard:http://localhost:9090/ui
Windows start up task and skip account control window:
- Open Windows Task Scheduler.
- Import
Mihomo StartUp.xml
, or NEW a task to runmihomo.startup.vbs
. - Change task's name, file path, triger, condition...
- In "General/Common" tab, tick 'admin/higherst permission', save & done.
End Mihomo:
Open Task Manager, terminate mihomo-windows-amd64.exe
.
or use mihomo.stop.bat
with admin permission.
Box For Root tun usage:
- Flash box_for_root, no reboot.
- Modify
proxy-groups
,proxy-providers
, and maybe something else inbox_for_root/clash/config.yaml
. - Copy files from
box_for_root
to/data/adb/box
. - Copy
custom-rules
,metacubexd
,(proxies)
,GeoIP.dat
,GeoSite.dat
to/data/adb/box/calsh
. - Reboot.
Preview: