core-proxy

tcp and unix socket proxy

npm install core-proxy
6 downloads in the last week
11 downloads in the last month

core-proxy

Simple TCP and Unix-Socket Proxy

Install

npm install -g core-proxy

Usage

Options:
  --source, -s       [required]  [default: "::1:3306"]
  --destination, -d  [required]
  • --source: Path to UNIX Socket or hostname:port for TCP
  • --destination: hostname:port (TCP only)

All parameters can be passed multiple times.

Example

Listen on IPv6 loopback address:

proxy -s /var/mysql/mysql.sock -s ::1:3306 -d db1.example.com:3306 -d db2.example.com:3306
npm loves you