tcp-proxy

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 6 Imported by: 0

README

tcp-proxy

A proxy that forwords from a host to another.

Building

go build -ldflags="-X 'main.Version=$(git describe --tags $(git rev-list --tags --max-count=1) || echo "dev")' -X 'main.BuildDate=$(date -u --rfc-2822)' -X 'main.CommitHash=$(git rev-parse HEAD)'"

Usage

Usage: tcp-proxy [options]
Options:
  -h, --help                 print help
  -l, --listen-port string   Listen port (default ":8000")
  -t, --target string        Target host
  -p, --target-port int      Target port
  -v, --version              print version

License

Copyright (c) 2022, @mrinjamul

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL