Applicable to OpenWrt / iStoreOS / ImmortalWrt A collection of agent plug-in installation, update, uninstall and check scripts.
Already integrated:
- OpenClash
- PassWall
- PassWall2
- Nikki
- SmartDNS
- MosDNS
- daed
It is recommended to use the menu mode directly. Installation, updating, checking version and uninstalling are all in the menu:
wget -qO /usr/bin/openclash-menu https://raw.githubusercontent.com/hrostami/openclash-auto-installer/main/menu.sh && chmod +x /usr/bin/openclash-menu && openclash-menuDomestic visit GitHub When it is slow, you can use Gitee Entrance:
wget -qO /usr/bin/openclash-menu https://gitee.com/naiyou88/openclash-auto-installer/raw/main/menu.sh && chmod +x /usr/bin/openclash-menu && OPENCLASH_AUTO_BASE_URL=https://gitee.com/naiyou88/openclash-auto-installer/raw/main openclash-menuIf the system is installed curl, you can also use:
curl -fsSL https://raw.githubusercontent.com/hrostami/openclash-auto-installer/main/menu.sh -o /usr/bin/openclash-menu && chmod +x /usr/bin/openclash-menu && openclash-menuMenu structure:
1. Check for plugin updates
2. Install plugin
3. Uninstall plugin
0. Exit
Recommended use:
- OpenWrt 24.10.x
- iStoreOS 24.10.x
- ImmortalWrt 24.10.x
You can try but it is recommended to verify first:
- OpenWrt 25.12+ /
apkenvironment - OpenWrt 23.05.x / 22.03.x
- Third-party firmware or stripped-down firmware
| plug-in | Support content | Description |
|---|---|---|
| OpenClash | Install / renew / Core installation / uninstall / Update detection | automatic recognition Meta / Smart Meta Kernel |
| PassWall | Install / renew / uninstall / Update detection | support opkg;OpenWrt 25.12+ Next try to install the upstream .apk Build |
| PassWall2 | Install / renew / uninstall / Update detection | support opkg;OpenWrt 25.12+ Next try to install the upstream .apk Build |
| Nikki | Install / renew / uninstall / Update detection | need firewall4/nftables |
| SmartDNS | Install / renew / uninstall / Update detection | Use official GitHub Release Bag |
| MosDNS | Install / renew / uninstall / Update detection | use sbwml/luci-app-mosdns GitHub Release Bag |
| daed | Install / renew / LuCI manage / uninstall / Update detection | Use official static binaries and integrate luci-app-daed, the panel port is 2023 |
OpenWrt 25.12+ use apk Package manager, this project has been adapted simultaneously:
- Installation / update
- Check for updates
- Uninstall
PassWall / PassWall2 in 25.12+ I will try to install the upstream next .apk Build, actual availability depends on whether the upstream releases the corresponding architecture package.
- recommend OpenWrt / iStoreOS / ImmortalWrt 24.x and above, the overall stability is higher.
- Lower versions, modified firmware, and streamlined firmware may encounter dependencies or software source incompatibilities.
- OpenWrt 25.12+ of
apkThe environment has been basically adapted, but it may still be affected by upstream packages. - Nikki Not supported
iptablesFirewall stack, requiredfirewall4/nftables. - SmartDNS Just install the program and LuCI interface, does not automatically take over or rewrite DNS configuration.
- MosDNS Only install the program,LuCI Interface and upstream Release The basic data package in the package is not automatically taken over or rewritten. DNS configuration.
- daed After a fresh installation,LuCI in“enable”The option is not checked by default, please check“Serve → DAED”Manually enable it; the script will not additionally stop or disable the service at the end of the installation. After startup, you can view logs and open the dashboard, or directly access
http://routerIP:2023. - LuCI DAED Interface usage
QiuSimons/luci-app-daedof OpenWrt 24.10ipkor 25.12apk;25.12 Will fully use the matching schema upstream daed APK, to avoid generic static core overrides OpenWrt Dedicated core and service scripts. If the interface package is incompatible with older versions or special firmware, the script will still remain available for independent use. daed rear end. - daed rely eBPF/BTF,Require Linux 5.17+ And the kernel enables related capabilities; many tailored OpenWrt The firmware cannot be run.
- OpenWrt 25.12 of
apkand LuCI The interface pack has been adapted. The official original firmware is missing BTF , the script will source third-party software recommended by the upstream documentationopkg.cooluc.com, press current OpenWrt large version andDISTRIB_ARCHFind externalvmlinux-btf. - Full kernel version consistent
vmlinux-btfIt will be installed automatically; only when the primary and secondary versions are consistent, the script will display the risk and ask for confirmation, and will not install silently. External BTF Other will still be checked after installation eBPF ability. - Update enabled daed Afterwards, the script will automatically restart and confirm that the service can continue to run; if the old core is detected
local_tcp_sockops/bpf_get_current_taskIn case of incompatibility errors, the enablement will be canceled and limited retries will be stopped to avoid continuous crashes and log flushing. - OpenWrt 25.12 renew daed will remove both the old core and LuCI Reinstall the dependency package and confirm that the old core has indeed been removed from
apkRemove it from the package to prevent packages of the same version from being overwritten. - daed After installation it occupies approximately 85MB, the installation process also requires
/tmpat least there 130MB Available space. - daed Official precompiled package support arm64,MIPS32/64,RISC-V 64 and x86, not supported ARMv7 Wait for the unreleased architecture.
- The default uninstallation method is safe uninstallation, which only removes the main package and corresponding configuration, and does not perform radical cleanup.
| File | function |
|---|---|
menu.sh |
Unified menu entry |
install.sh |
OpenClash Install / renew |
update.sh |
OpenClash Quick update entry |
repair.sh |
OpenClash Basic repair |
passwall.sh |
PassWall Install / renew |
passwall2.sh |
PassWall2 Install / renew |
nikki.sh |
Nikki Install / renew |
smartdns.sh |
SmartDNS Install / renew |
mosdns.sh |
MosDNS Install / renew |
daed.sh |
daed Install / renew |
check-updates.sh |
Check for plugin updates |
uninstall.sh |
Safely uninstall plugins |
auto-download-pro.sh |
Old portal compatibility wrapper, forwarded to passwall.sh |
test-auto-download.sh |
The old test entry compatibility wrapper has been forwarded to passwall.sh |
- OpenClash: https://github.com/vernesong/OpenClash
- PassWall: https://github.com/Openwrt-Passwall/openwrt-passwall
- PassWall2: https://github.com/Openwrt-Passwall/openwrt-passwall2
- Nikki: https://github.com/nikkinikki-org/OpenWrt-nikki
- SmartDNS: https://github.com/pymumu/smartdns
- MosDNS LuCI: https://github.com/sbwml/luci-app-mosdns
- daed: https://github.com/daeuniverse/daed
- daed LuCI: https://github.com/QiuSimons/luci-app-daed