跳转至

安装软件

可选,替换本地源

Bash
downloads.openwrt.org
mirrors.tuna.tsinghua.edu.cn

sed -i 's/downloads.openwrt.org/mirrors.tuna.tsinghua.edu.cn\/openwrt/g' /etc/opkg/distfeeds.conf

openVPN

Bash
opkg update
opkg install openvpn-easy-rsa openvpn-openssl luci-app-openvpn luci-i18n-openvpn-zh-cn

检查安装的包是否完整

opkg list-installed | grep openvpn

清理Luci缓存并重启相关服务

清理Luci缓存

rm -rf /tmp/luci-indexcache /tmp/luci-modulecache

重启uhttpd服务(Web界面服务)

service uhttpd restart

或者重启rpcd服务(负责Luci权限的RPC服务)

service rpcd restart

完全重启网络相关服务

service network restart