运行于ARM KoolCenter软件中心的,一款由Golang写的集合了 端口转发 / DDNS / Web服务 / Stun内网穿透 / 网络唤醒 / 计划任务 / ACME自动证书 / 网络存储 等功能的强大网络工具。
https://github.com/gdy666/lucky
在asuswrt为基础的固件上,插件目前支持HND和MTK和QCA架构的路由器
备注:CF
映射路径:/koolshare/configs/lucky/ca
触发脚本:
cp /koolshare/configs/lucky/ca/CF.crt /tmp/etc/cert.crt
cp /koolshare/configs/lucky/ca/CF.crt /tmp/etc/cert.pem
cp /koolshare/configs/lucky/ca/CF.key /tmp/etc/key.pem
cat /tmp/etc/key.pem /tmp/etc/cert.pem > /tmp/etc/server.pem
chmod 640 /tmp/etc/key.pem
tar -C / -czf /jffs/cert.tgz etc/cert.pem etc/key.pem
service restart_httpd
local aicloud_enable=$(nvram get aicloud_enable)
if [ "${aicloud_enable}" == "1" ];then
service restart_webdav
fi