@jcoreio/tcp-proxy
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

tcp-proxy

Proxy TCP connections to a remote host

Installation

With yarn: yarn global add @jcoreio/tcp-proxy With npm: npm install -g @jcoreio/tcp-proxy

Usage

tcp-proxy <HOST> <PORT>, e.g. tcp-proxy 10.1.1.10 5000

Usage with Docker

If you need to run tcp-proxy on a host that has Docker but not node.js, you can run a command like this:

nohup docker run -p <PORT>:<PORT> node:16 /bin/bash -c "npm install -g @jcoreio/tcp-proxy && tcp-proxy <TARGET IP> <PORT>" > redirect.log &

Dependencies (0)

    Dev Dependencies (44)

    Package Sidebar

    Install

    npm i @jcoreio/tcp-proxy

    Weekly Downloads

    5

    Version

    1.1.0

    License

    UNLICENSED

    Unpacked Size

    13.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • gravitate1838
    • manojrsingireddy
    • avramdodson
    • forrest-keller
    • jrmclaurin
    • jedwards1211
    • eladendorf