Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.75 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.75 KB

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

MihomoTProxy By morytyann

Transparent Proxy with Mihomo on OpenWrt.

Prerequisites

This Is A Modified Version Of Morytyann Official Version

  • OpenWrt >= 22.03
  • Linux Kernel >= 5.10
  • firewall4

Feature

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

Install & Update

B. Install From Release

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

Uninstall & Reset

curl -s -L https://mirror.ghproxy.com/https://github.com/rtaserver/OpenWrt-mihomo-Mod/raw/refs/heads/mod/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. Set router hijack.
  5. Set lan hijack with access control.
  6. Set scheduled restart.

Note that the steps above may change base on config.

Dependencies

  • ca-bundle
  • curl
  • yq
  • firewall4
  • ip-full
  • kmod-inet-diag
  • kmod-nft-tproxy
  • kmod-tun