morytyann/OpenWrt-mihomo
Fork: 154 Star: 1446 (更新于 2024-12-07 15:01:03)
license: MIT
Language: Shell .
Transparent Proxy with Mihomo on OpenWrt.
最后发布版本: v1.13.3 ( 2024-12-07 13:37:34)
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://ghp.ci/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://ghp.ci/https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/install.sh | ash
Uninstall & Reset
curl -s -L https://ghp.ci/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 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
最近版本更新:(数据更新于 2024-12-12 00:34:21)
2024-12-07 13:37:34 v1.13.3
2024-12-01 13:22:44 v1.13.2
2024-11-25 12:50:03 v1.13.1
2024-11-22 20:01:25 v1.13.0
2024-11-20 21:00:51 v1.12.0
2024-11-16 13:22:45 v1.11.1
2024-11-11 23:31:42 v1.11.0
2024-11-09 18:09:10 v1.10.0
2024-11-04 23:02:18 v1.9.3
2024-10-29 15:56:44 v1.9.2
主题(topics):
mihomo, mihomotproxy, openwrt, transparent-proxy
morytyann/OpenWrt-mihomo同语言 Shell最近更新仓库
2024-12-11 20:57:35 RROrg/rr
2024-12-11 00:11:41 j-hc/revanced-magisk-module
2024-12-09 01:05:08 rustdesk/rustdesk-server-pro
2024-12-03 19:14:14 dockur/windows
2024-12-02 22:57:12 chenzyadb/CuprumTurbo-Scheduler
2024-12-02 13:29:53 DoL-Lyra/Lyra