curl -sSL https://raw.githubusercontent.com/w0ven/po0fw/main/openwrt/install-openwrt.sh -o /tmp/i.sh
PO0FW_TOKENS="pgnfw_3e3b2ca385d6526fcacb5c7e1ed13e1a4ddd16597e2d684251d69f98b67dc9df" sh /tmp/i.sh
cron 每 10 分钟兜底 + WAN 重连事件秒级加白。跑一次 po0fw 验证,日志在 /tmp/po0fw.log。
使用管理员权限运行 PowerShell 并粘贴:
irm https://raw.githubusercontent.com/w0ven/po0fw/main/windows/install-windows.ps1 -OutFile i.ps1
powershell -ExecutionPolicy Bypass -File i.ps1 -Tokens "pgnfw_3e3b2ca385d6526fcacb5c7e1ed13e1a4ddd16597e2d684251d69f98b67dc9df"
curl -sSL https://raw.githubusercontent.com/w0ven/po0fw/main/install-linux.sh | PO0FW_TOKENS="pgnfw_3e3b2ca385d6526fcacb5c7e1ed13e1a4ddd16597e2d684251d69f98b67dc9df" sh
触发器选「网络连接变化」;动作选「HTTP 请求」,方法 POST,URL 填:
https://124.221.69.228/api/firewall/pgnfw_3e3b2ca385d6526fcacb5c7e1ed13e1a4ddd16597e2d684251d69f98b67dc9df/add
触发器「定期触发」间隔 15 分钟,执行同样的 POST 动作。
直接使用系统原生快捷指令。可设置在“连接指定 Wi-Fi 时”自动运行。