# OpenWrt-nikki **Repository Path**: SSHTerm/OpenWrt-nikki ## Basic Information - **Project Name**: OpenWrt-nikki - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: dependabot - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-22 - **Last Updated**: 2025-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![GitHub License](https://img.shields.io/github/license/nikkinikki-org/OpenWrt-nikki?style=for-the-badge&logo=github) ![GitHub Tag](https://img.shields.io/github/v/release/nikkinikki-org/OpenWrt-nikki?style=for-the-badge&logo=github) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/nikkinikki-org/OpenWrt-nikki/total?style=for-the-badge&logo=github) ![GitHub Repo stars](https://img.shields.io/github/stars/nikkinikki-org/OpenWrt-nikki?style=for-the-badge&logo=github) [![Telegram](https://img.shields.io/badge/Telegram-gray?style=for-the-badge&logo=telegram)](https://t.me/nikkinikki_org) # Nikki Transparent Proxy with Mihomo on OpenWrt. ## 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 - Scheduled Restart ## Install & Update ### A. Install From Feed (Recommended) 1. Add Feed ```shell # only needs to be run once wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/feed.sh | ash ``` 2. Install ```shell # you can install from shell or `Software` menu in LuCI # for opkg opkg install nikki opkg install luci-app-nikki opkg install luci-i18n-nikki-zh-cn # for apk apk add nikki apk add luci-app-nikki apk add luci-i18n-nikki-zh-cn ``` ### B. Install From Release ```shell wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/install.sh | ash ``` ## Uninstall & Reset ```shell wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/uninstall.sh | ash ``` ## How To Use See [Wiki](https://github.com/nikkinikki-org/OpenWrt-nikki/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 ```shell # add feed echo "src-git nikki https://github.com/nikkinikki-org/OpenWrt-nikki.git;main" >> "feeds.conf.default" # update & install feeds ./scripts/feeds update -a ./scripts/feeds install -a # make package make package/luci-app-nikki/compile ``` The package files will be found under `bin/packages/your_architecture/nikki`. ## Dependencies - ca-bundle - curl - yq - firewall4 - ip-full - kmod-inet-diag - kmod-nft-socket - kmod-nft-tproxy - kmod-tun ## Contributors [![Contributors](https://contrib.rocks/image?repo=nikkinikki-org/OpenWrt-nikki)](https://github.com/nikkinikki-org/OpenWrt-nikki/graphs/contributors) ## Special Thanks - [@ApoisL](https://github.com/apoiston) - [@xishang0128](https://github.com/xishang0128)