百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

OpenWrt-nikki

> DevOps
开源

在 OpenWrt 上使用 Mihomo 实现透明代理。

5.1K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

在 OpenWrt 上使用 Mihomo 实现透明代理。

English | 中文

Nikki

在 OpenWrt 上使用 Mihomo 的透明代理。

前置条件

  • OpenWrt >= 24.10
  • Linux 内核 >= 5.13
  • firewall4

功能

  • 透明代理(Redirect/TPROXY/TUN,IPv4 和/或 IPv6)
  • 访问控制
  • 配置文件 Mixin
  • 配置文件编辑器
  • 定时重启

安装与更新

A. 从 Feed 安装(推荐)

  1. 添加 Feed
bash
# only needs to be run once
wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/feed.sh | ash
  1. 安装
bash
# 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. 从 Release 安装

bash
wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/install.sh | ash

卸载与重置

bash
wget -O - https://github.com/nikkinikki-org/OpenWrt-nikki/raw/refs/heads/main/uninstall.sh | ash

使用方法

参见 Wiki

工作原理

  1. Mixin 并更新配置文件。
  2. 运行 mihomo。
  3. 设置定时重启。
  4. 设置 ip 规则/路由
  5. 生成 nftables 并应用。

请注意,上述步骤可能会因配置而有所变化。

编译

bash
# 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

软件包文件将位于 bin/packages/your_architecture/nikki 目录下。

依赖

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

贡献者

特别鸣谢

  • @ApoisL
  • @xishang0128

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptclashluci-appluci-app-nikkimihomo

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理