OpenWrt 添加一个 socat 的 luci web 界面

Dosk 技术站 at 
首先安装几个依赖:opkg update && opkg install socat luci luci-base luci-compat 终端开启 socat 服务:/etc/init.d/socat enable && /etc/init.d/socat start 添加如下两个文件,格式按照 /etc/config/socat 来搞就行/usr/lib/lua/luci/controller/socat.luamodule("luci.controller.socat", package.seeall)function index() entry({"admin","services"……