Skip to content

herenow/tcp2tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 
  

About

A simple tcp to tcp proxy server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published