Skip to content

Transparent Proxy with Mihomo on OpenWrt with HWID support and Subscription update

License

Notifications You must be signed in to change notification settings

mglants/nikkix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

777 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

English | Русский

Nikkix

Transparent Proxy with Mihomo on OpenWrt. )

Fork Notice

This project is a fork of Nikki. Original repository: https://github.com/nikkinikki-org/OpenWrt-nikki

Changes in this fork:

  • HWID Support
  • Removed Chinese lists
  • TPROXY by default

Prerequisites

  • OpenWrt >= 23.05
  • Linux Kernel >= 5.13
  • firewall4

Feature

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

Install & Update

A. Install From Feed (Recommended)

  1. Add Feed
# only needs to be run once
wget -O - https://github.com/mglants/nikkix/raw/refs/heads/main/feed.sh | ash
  1. Install
# you can install from shell or `Software` menu in LuCI
# for opkg
opkg install nikkix
opkg install luci-app-nikkix
# for apk
apk add nikkix
apk add luci-app-nikkix

B. Install From Release

wget -O - https://github.com/mglants/nikkix/raw/refs/heads/main/install.sh | ash

Uninstall & Reset

wget -O - https://github.com/mglants/nikkix/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. Set scheduled restart.
  4. Set ip rule/route
  5. Generate nftables and apply it.

Note that the steps above may change base on config.

Compilation

# add feed
echo "src-git nikkix https://github.com/mglants/nikkix.git;main" >> "feeds.conf.default"
# update & install feeds
./scripts/feeds update -a
./scripts/feeds install -a
# make package
make package/luci-app-nikkix/compile

The package files will be found under bin/packages/your_architecture/nikkix.

Dependencies

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

Contributors

Contributors Contributors

Special Thanks

Recommended Proxy Provider

HWID supported providers is recommended power by

About

Transparent Proxy with Mihomo on OpenWrt with HWID support and Subscription update

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 43.8%
  • Shell 43.6%
  • UnrealScript 9.3%
  • Makefile 3.3%