Compare commits

...

2 Commits

Author SHA1 Message Date
jyhl 484ab4458e fix 1 month ago
fofo 8bd46c2fb1 fix 1 month ago
  1. 21
      README.MD

21
README.MD

@ -1,4 +1,4 @@
# IP自动续费工具
# IP白名单自动更新工具
这是一个用于自动检测公网IP变化并更新代理白名单的工具。当检测到公网IP发生变化时,会自动调用API更新指定索引位置的IP白名单。
@ -17,12 +17,29 @@
```ini
[main]
# 代理API的URL地址
url=http://ip.16yun.cn:817/myip/pl/b1c75840-40a0-115b-1173-3a66ce51110f/?s=amypvklrkb&u=test
url=http://ip.16yun.cn:817/myip/pl/1111111-40a0-115b-1173-3a66ce51110f/?s=2222222&u=test
# IP白名单编号,从0开始
# 不同机器配置不同编号,相同公网IP的内网机器使用相同编号
index=0
# 示例说明:
# 场景1:三台不同公网IP的服务器
# 服务器A (公网IP: 1.1.1.1) -> index=0
# 服务器B (公网IP: 2.2.2.2) -> index=1
# 服务器C (公网IP: 3.3.3.3) -> index=2
# 场景2:同一公网IP下的多台内网机器
# 办公室路由器公网IP: 4.4.4.4
# 内网机器A (192.168.1.10) -> index=0
# 内网机器B (192.168.1.11) -> index=0 (相同公网IP,使用相同索引)
# 内网机器C (192.168.1.12) -> index=0 (相同公网IP,使用相同索引)
# 场景3:混合环境
# 家庭网络 (公网IP: 5.5.5.5) -> index=0
# 公司网络 (公网IP: 6.6.6.6) -> index=1
# 云服务器 (公网IP: 7.7.7.7) -> index=2
# IP检测更新间隔,单位:秒
wait=60
```

Loading…
Cancel
Save