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.
- Host: GitHub
- URL: https://github.com/herenow/tcp2tcp
- Owner: herenow
- Created: 2014-10-25T20:52:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-25T21:07:59.000Z (over 10 years ago)
- Last Synced: 2024-04-24T19:11:58.950Z (about 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```