Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 948 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 948 Bytes

Stream Unlock

简单的流媒体解锁后端

食用方案

./deploy.sh

配置文件

nano /etc/stream.json
{
    "api": 8888, // 看下文,好好想想
    "secret": "114514", // 其他机器上 Crontab 下这个 curl -fsSL http://11.4.5.14:8888/aio?secret=114514 就行
    "domains": [ // 解锁域名列表
        "netflix.com"
    ],
    "allowedips": [ // 设定两条自带的允许 IP
        "114.114.114.114",
        "114.114.115.115"
    ],
    "address": "11.4.5.14", // 当前机器的 IP 地址,用于 DNS 回复的
    "upstream": "1.1.1.1:53" // 上游 DNS 地址
}

控制命令

systemctl enable --now stream # 开启自启同时启动
systemctl disable --now stream # 关闭自启同时停止