An open API service indexing awesome lists of open source software.

https://github.com/herenow/tcp2tcp

A simple tcp to tcp proxy server.
https://github.com/herenow/tcp2tcp

Last synced: 2 months ago
JSON representation

A simple tcp to tcp proxy server.

Awesome Lists containing this project

README

        

tcp2tcp
=========

This is a command line tool for initiating a simple tcp to tcp proxy. Maybe it's useful for somebody besides me :)

I may or may not add some better debugging features overtime.

Install
=========
```
npm install -g tcp2tcp
```

Usage
====
```

Sample usage: tcp2tcp -f 0.0.0.0:3600 -t 0.0.0.0:3601
Printing to file: tcp2tcp -f 0.0.0.0:3600 -t 0.0.0.0:3601 -p 2> send.data 1> received.data
Options:
-f, --from Proxy traffic from address (where should the proxy listen for connections).
-t, --to Proxy traffic to address (pass data to this address).
-d, --delay Adds a delay in ms, before sending packets to the backend.
-p, --print Print all received data to stdout and stderr. All data sent will be printed to stderr and received data will be printed to stdout!. [default: false]
-v, --verbose Verbose output of packets beeing proxies. If print is enabled this will automatically be disabled. [default: true]
-h, --help Print help and usage information

```