Skip to main content

Create random tunnel on each new connection.

Project description

random-tunnel

一款可以使用随机代理地址访问目标服务的turbo-tunnel插件

安装方法

$ pip3 install random-tunnel

使用方法

$ turbo-tunnel -l http+random://127.0.0.1:9999/?provider=${provider_url} -p random_tunnel

这样会在本地创建一个HTTPS代理服务器,客户端通过该代理服务器访问目标服务时,会随机使用${provider_url}指定的代理服务器列表中的某一个代理。

支持的provider类型

http/https

该url必须按照以下格式返回application/json类型的包体:

{
    "results": [{
        "ip": "1.2.3.4",
        "port": 8080,
        "type": "https"
    }, {
        "ip": "2.2.2.2",
        "port": 8888,
        "type": "https"
    }]
}

同时,该url需要支持limit查询参数用于指定查询的条数。

file

本地文件方式,如:file:///data/proxies.txt。该文件需要将代理服务器以每行一个的形式存放,格式为:http://1.2.3.4:8080

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

random-tunnel-0.1.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page