0.0.5 • Published 5 years ago

public-proxy v0.0.5

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

public-proxy

Install

npm install -g public-proxy

Get help

public-proxy --help
public-proxy start|restart|status|stop --help

Use HTTP proxy

public-proxy start http

Use Socks proxy

public-proxy start socks

Run status

# Get socks server and http server status.
public-proxy status

# Get socks server status only.
public-proxy status socks

# Get http server status only.
public-proxy status http

Add proxy auth

  • Install htpasswd
npm install -g htpasswd
  • Add/Modify user
htpasswd -b ~/.public-proxy/htpasswd username password
  • Delete user
htpasswd -D ~/.public-proxy/htpasswd username

Reference