0.1.1 • Published 3 years ago
@copha/lbproxy v0.1.1
lbproxy
A proxy server with load balance
now support socks5 only
Install
npm i -g @copha/lbproxy
# yarn global add @copha/lbproxy
How to use
- Add socks5 config to proxy pool
lbproxy -a host:port
- Start proxy service
lbproxy -H 127.0.0.1 -p 1080 -m R # use -D option can run server with daemon mode
- Stop proxy service
lbproxy -s
- Use
lbproxy -h
for more helper
Load Balance Strategy
default use random
- Random (R)
- Round Robin (RR)
- Least connections (LC)
- The least response time (LRT)