Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple TCP and Unix-Socket Proxy
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
smf
.gitignore
README.md
main.js
package.json

README.md

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
Something went wrong with that request. Please try again.