/tcp-proxy

Primary LanguageJavaScript

tcp-proxy

tcp proxy

Installation

  1. Clone the repo

    $ git clone https://github.com/francislyj/tcp-proxy.git
  2. Install NPM packages

    $ npm install
  3. Init

    $ npm run init
  4. change config

    $ vim config.js
    
    ## serviceHosts: [host1, host2, ...]
    ## servicePorts: [port1, port2, ...]
  5. scripts

    npm run init // init server
    npm run start // start server