Skip to content

adembo/go-tcpproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This is a super simple TCP proxy.

It takes three arguments:

  1. The local TCP port to listen on.
  2. The remote hostname or IP address to connect to.
  3. The remote TCP port to connect to.

The ports can be specified either numerically or by service name.

Once started, the proxy listens for inbound connections. When one arrives, it connects to the remote machine and copies bytes back and forth between the two connections until both ends hang-up.

Logging can be enabled by setting the LOG environment variable.

About

Simple TCP proxy in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published