设备换 IP 后自动补进白名单,不再手动点「添加当前 IP」。
软路由 · PC · 安卓 · iOS 全平台,一次配置永久生效。
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 重连事件秒级加白。跑一次 5itv 验证,日志在 /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 动作。
无需安装任何代理软件,直接使用系统原生快捷指令。点击下方按钮将在浏览器中打开添加页面:
在新窗口中点击获取捷径,打开快捷指令。