MyGit

morytyann/OpenWrt-mihomo

Fork: 127 Star: 1110 (更新于 2024-10-22 09:29:32)

license: MIT

Language: Shell .

Transparent Proxy with Mihomo on OpenWrt.

最后发布版本: v1.9.0 ( 2024-10-21 20:53:01)

GitHub网址

GitHub License GitHub Tag GitHub Downloads (all assets, all releases) GitHub Repo stars Telegram

MihomoTProxy

Transparent Proxy with Mihomo on OpenWrt.

[!WARNING]

  • Only support firewall4, it means your OpenWrt version needs to be 22.03 or above

Feature

  • Transparent Proxy (TPROXY/TUN, IPv4 and/or IPv6)
  • Access Control
  • Compatible with Multiple WAN
  • Profile Mixin
  • Profile Editor
  • Scheduled Restart

Install & Update

A. Install From Feed (Recommended)

  1. Add Feed
# only needs to be run once
curl -s -L https://mirror.ghproxy.com/https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/feed.sh | ash
  1. Install
# you can install from shell or `Software` menu in LuCI
opkg install mihomo
opkg install luci-app-mihomo
opkg install luci-i18n-mihomo-zh-cn

B. Install From Release

curl -s -L https://mirror.ghproxy.com/https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/install.sh | ash

Uninstall & Reset

curl -s -L https://mirror.ghproxy.com/https://github.com/morytyann/OpenWrt-mihomo/raw/refs/heads/main/uninstall.sh | ash

How To Use

See Wiki

How does it work

  1. Mixin and Update profile.
  2. Run mihomo.
  3. Run hijack prepare script.
  4. Add router hijack.
  5. Add lan hijack with access control.
  6. 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
  • kmod-nft-tproxy
  • ip-full
  • kmod-tun

最近版本更新:(数据更新于 2024-10-22 19:51:49)

2024-10-21 20:53:01 v1.9.0

2024-10-15 09:32:05 v1.8.7

2024-10-10 19:45:07 v1.8.6

2024-10-07 14:49:01 v1.8.5

2024-09-30 22:46:26 v1.8.4

2024-09-16 16:05:29 v1.8.3

2024-09-14 11:20:13 v1.8.2

2024-09-11 16:20:36 v1.8.1

2024-09-05 23:52:54 v1.8.0

2024-09-02 17:23:47 v1.7.8

主题(topics):

mihomo, mihomotproxy, openwrt, transparent-proxy

morytyann/OpenWrt-mihomo同语言 Shell最近更新仓库

2024-10-18 15:10:02 iranee/qnap-alist-webdav

2024-10-18 13:56:26 Chocolate4U/Iran-clash-rules

2024-10-17 21:20:28 kevin01523/WSA-MagiskDelta

2024-10-17 15:12:21 RROrg/rr

2024-10-07 22:27:21 binpash/try

2024-10-06 21:17:00 appleboy/ssh-action