https://naiyous.com/10535.html
1、添加 opkg key
cd /tmp
wget -O passwall.pub https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub
opkg-key add /tmp/passwall.pub
2、把软件源写入 /etc/opkg/customfeeds.conf
read release arch << EOF
$(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
EOF
for feed in passwall_luci passwall_packages passwall2; do
echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed" >> /etc/opkg/customfeeds.conf
done
3、更新索引并安装
安装 PassWall:【点击进入】
opkg update
opkg install luci-app-passwall
如果你想装 PassWall2:【点击进入】
opkg update
opkg install luci-app-passwall2
刷新管理界面(或者直接重启)
/etc/init.d/uhttpd restart
安装汉化
opkg install luci-i18n-passwall-zh-cn
opkg install luci-i18n-passwall2-zh-cn