安裝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