Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

public-proxy

waiwaiku6ISC0.0.5

Socks5 proxy and http proxy.

proxy, public proxy, http proxy, socks proxy

readme

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