morytyann/OpenWrt-mihomo
Fork: 181 Star: 1699 (更新于 2025-01-17 05:51:15)
license: MIT
Language: Shell .
Transparent Proxy with Mihomo on OpenWrt.
最后发布版本: v1.17.4 ( 2025-01-16 20:18:31)
MihomoTProxy
Transparent Proxy with Mihomo on OpenWrt.
Prerequisites
- OpenWrt >= 23.05
- Linux Kernel >= 5.10
- firewall4
Feature
- Transparent Proxy (TPROXY/TUN, IPv4 and/or IPv6)
- Access Control
- Profile Mixin
- Profile Editor
- Scheduled Restart
Install & Update
A. Install From Feed (Recommended)
- Add Feed
# only needs to be run once
curl -s -L https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/feed.sh | ash
- Install
# you can install from shell or `Software` menu in LuCI
# for opkg
opkg install mihomo
opkg install luci-app-mihomo
opkg install luci-i18n-mihomo-zh-cn
# for apk
apk add --allow-untrusted mihomo
apk add --allow-untrusted luci-app-mihomo
apk add --allow-untrusted luci-i18n-mihomo-zh-cn
B. Install From Release
curl -s -L https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/install.sh | ash
Uninstall & Reset
curl -s -L https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/uninstall.sh | ash
How To Use
See Wiki
How does it work
- Mixin and Update profile.
- Run mihomo.
- Run hijack prepare script.
- Set router hijack.
- Set lan hijack with access control.
- Set scheduled restart.
Note that the steps above may change base on config.
Compilation
# add feed
echo "src-git mihomo https://github.com/morytyann/OpenWrt-mihomo.git;main" >> "feeds.conf.default"
# update & install feeds
./scripts/feeds update -a
./scripts/feeds install -a
# make package
make package/luci-app-mihomo/compile
The ipk/apk file will be found under bin/packages/your_architecture/mihomo
.
Dependencies
- ca-bundle
- curl
- yq
- firewall4
- ip-full
- kmod-inet-diag
- kmod-nft-tproxy
- kmod-tun
Contributors
Special Thanks
最近版本更新:(数据更新于 2025-01-18 19:14:42)
2025-01-16 20:18:31 v1.17.4
2025-01-08 22:45:04 v1.17.3
2025-01-05 13:57:23 v1.17.2
2025-01-03 17:52:12 v1.17.1
2025-01-02 22:51:03 v1.17.0
2025-01-01 16:07:11 v1.16.0
2024-12-29 10:33:59 v1.15.0
2024-12-17 15:17:35 v1.14.0
2024-12-07 13:37:34 v1.13.3
2024-12-01 13:22:44 v1.13.2
主题(topics):
clash, clashmeta, luci-app, luci-app-mihomo, mihomo, mihomotproxy, openwrt, transparent-proxy
morytyann/OpenWrt-mihomo同语言 Shell最近更新仓库
2025-01-12 18:10:16 mylinuxforwork/dotfiles
2025-01-08 23:45:30 chenzyadb/CuprumTurbo-Scheduler
2025-01-08 22:12:23 emptysuns/Hi_Hysteria
2025-01-08 00:27:23 j-hc/revanced-magisk-module
2025-01-06 04:54:12 zigbee2mqtt/hassio-zigbee2mqtt
2024-12-31 21:52:43 yonggekkk/x-ui-yg