@ago1 在 cf节点访问论坛优化 中发帖
接上回:使用方法保存为xxx.ps1文件,或者直接在powershell运行,获取到的ip选择一个替换到cf节点中的ip地址,别的地方不变,下面是实现过程,有兴趣的可以看看。
$ipRange = @("104.18.32.", "104.18.33.", "172.67.1.")
$results = @()
Write-Host "--- 正在寻找访问 linux.do 的最佳优选 IP (兼容模式) ---" -ForegroundColor Cyan
Write-Host "正在扫描,请稍候..." -ForegroundColor Gray
foreach ($prefix in $ipRange) {
# 每个段只测前 15 个,保证速度
for ($i = 1; $i -le 15; $i++) {
$ip = "$prefix$i"
...