隧道模式HTTP使用教程

华科隧道HTTP格式为:服务器:端口 账号 密码

隧道代理分钟2种模式:

固定时间更改新IP(比如5分钟,10分钟,初次开通的时候可设定)

请求一次更换一个新IP(可通过浏览器或者curl)

1、使用浏览器

1.1、使用浏览器切换IP(限制 180次 /小时,间隔>20秒)

用浏览器访问 http://ip.hahado.cn/simple/switch-ip?username=username&password=password URL上面加上用户名和密码

[

{

"last_ip": "180.102.181.64",

"result": true

}

]

"last_ip": 切换前的IP

"result": 结果 true (成功) false (失败)

1.2、查看当前代理IP(限制 1200次 /小时)

用浏览器访问 http://ip.hahado.cn/simple/current-ip?username=username&password=password URL上面加上用户名和密码

[

{

"ip": "180.102.181.64",

"ttl": 262.87515091896057

}

]

"ip": 字段是当前的外网IP ("ip":"null" 正在切换中,暂时没有IP)

"ttl":字段是ip可以使用的剩余时间(秒)

2、使用curl

2.1、使用curl切换IP(限制 180次 /小时,间隔>20秒)

curl http://ip.hahado.cn/simple/switch-ip?username=username&password=password

[

{

"last_ip": "180.102.181.64",

"result": true

}

]

"last_ip": 切换前的IP

"result": 结果 true (成功) false (失败)

2.2、 查看当前IP(限制 1200次 /小时)

curl http://ip.hahado.cn/simple/current-ip?username=username&password=password

[

{

"ip": "180.102.181.64",

"ttl": 262.87515091896057

}

]

"ip": 字段是当前的外网IP ("ip":"null" 正在切换中,暂时没有IP)

"ttl": 字段是ip可以使用的剩余时间(秒), -1 表示永远不过期(需要手动切换)

猜你喜欢

转载自blog.csdn.net/weixin_73725158/article/details/131245315