This is proxy health check and provider part of proxypool. You should have had a proxypool server available at first.
Due to the poor availability of proceeding proxy health check on servers overseas, The best usage of this project is to run on your own server within Mainland China.
Choose either.
Download from releases
Don't forget to add 755 permissions
chmod +775 proxypoolcheck
Put config.yaml into directory and run. You can use -c to specify configuration path.
./proxypoolCheck
# or
./proxypoolCheck -c PathToConfig
Make sure golang 1.16 installed. Then download source
$ go get -u -v github.com/Sansui233/proxypoolCheck
And run
$ go run main.go -c ./config/config.yaml
Compile into bin directory
make
# proxypool remote server url. Blank for http://127.0.0.1:8080
server_url:
- https://example.proxypoolserver.com
- https://example.proxypoolserver.com/clash/proxies?type=vmess
# For your local server
request: http # http / https
domain: # default: 127.0.0.1
port: # default: 80
cron_interval: 15 # default: 15 minutes
show_remote_speed: true # default false
healthcheck_timeout: # default 5
healthcheck_connection: # default 100
speedtest: # default false
speed_timeout: # default 10
speed_connection: # default 5
If your web server port is not the same as proxypoolCheck serving port, you should put web server port in configuration, and set an environment variable PORT
for proxypoolCheck to serve. This will be really helpful when you are doing frp.
export PORT=ppcheckport
本项目遵循 GNU General Public License v3.0 开源,在此基础上,所有使用本项目提供服务者都必须在网站首页保留指向本项目的链接
本项目仅限个人自己使用,禁止使用本项目进行营利和做其他违法事情,产生的一切后果本项目概不负责。