安装Mudfish包
用于路由器的 Mudfish Cloud VPN 由基于 OpenWRT 的软件包组成,包括 Mudfish Core 软件包和用于 Luci Web 界面的 Mudfish UI 软件包。
支持的 OpenWRT 版本
我们目前正式支持以下 OpenWRT 版本。
- 23.05
- 22.03
- 21.02
- 19.07
- 18.06
支持的路由器
目前,已确认与Mudfish正常工作的路由器列表如下。
-
TP-Link
-
Buffalo Inc.
-
GL.inet
-
Western Digital
-
Xiaomi
依赖包
为了使 Mudfish 程序在路由器上正常运行,必须安装以下软件包。
-
ip
用于设置 Mudfish 项目的路由表。
-
kmod-tun: tun(4)驱动程序
-
libopenssl
-
libpthread
-
librt
-
zlib
适用于您的路由器的所有单独软件包都可以在 https://downloads.openwrt.org/ 链接中找到,并且必须在安装 Mudfish 软件包之前安装。每个路由器的链路如下:
-
Mi Wi-Fi Nano / Youth (R1CL)
https://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/
您可以使用以下命令安装软件包。
# opkg update
# opkg install kmod-tun
# opkg install ip zlib libpthread librt libopenssl
安装 Luci Web 界面
如果您想通过 Luci Web 界面而不是通过 ssh 进行配置,则可以安装 Luci 软件包。如果您安装如下所示的软件包,则可以使用浏览器设置路由器。
# opkg update
# opkg install luci
# opkg install luci-i18n-base-ko
如果要在 OpenWRT 19.07 固件上安装 Mudfish,还必须安装
luci-compat软件包才能正确查看 UI 上的菜单。# opkg install luci-compat
使用 opkg 安装 Mudfish 软件包
您可以参考opkg命令用法文档安装Mudfish软件包,并通过https://mudfish.net/releases/openwrt/链接查看当前发布的Mudfish软件包 信息。
如果已经安装了 Mudfish 软件包,请首先使用以下命令将其删除,然后继续安装。
# opkg remove mudfish-pi
要安装 Mudfish 软件包,请检查 URL 路径中是否有与您的路由器匹配的二进制文件,然后使用 opkg 命令进行安装。
例如,要在 Mi Wi-Fi Nano / Youth (R1CL) 路由器上安装,您可以使用以下命令。
安装前,请务必访问https://mudfish.net/releases/openwrt/packages-18.06目录并检查是否是最新的Mudfish版本。有时,文档可能会过时,并且可能无法反映最新版本信息。
# opkg install http://mudfish.net/releases/openwrt/packages-18.06/mipsel_24kc/base/mudfish-pi_2.1.22-1_mipsel_24kc.ipk
# opkg install http://mudfish.net/releases/openwrt/packages-18.06/mipsel_24kc/luci/luci-app-mudfish-pi_git-18.285.02627-b9e5d56-1_all.ipk