tcpproxy

package module
v0.0.0-...-00802f1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

tcpproxy

Is very a very simple tcpproxy to listen on multiple addresses and forward do other endpoints.

I wrote this as a simple dependency free helper for developing on macOS. Its main purpose is to avoid the "Do you want to accept incoming connections" every time a compiled binary is started. By only listening on localhost in the binary and using the proxy to expose to a wider audience the message only needs to accepted once for the proxy. \o/

usage: tcpproxy listen:port:target:port ...

Installation

go install github.com/databus23/tcpproxy/tcpproxy@latest

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToUnix

func ToUnix(addr string) (net.Listener, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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