Giter Site home page Giter Site logo

hamed-deve / tcp-proxy-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hpello/tcp-proxy-docker

0.0 0.0 0.0 5 KB

Simple utility to relay tcp traffic to a specific host and port.

Home Page: https://hub.docker.com/r/hpello/tcp-proxy

Shell 65.16% Dockerfile 34.84%

tcp-proxy-docker's Introduction

tcp-proxy-docker

Description

Simple utility to relay tcp traffic to a specific host and port.

It can prove useful if you want to temporarily bind a running container port to your host.

Usage

tcp-proxy host port

Examples

To relay all TCP connections on your port 1234 to my.cool.host:8080:

docker run -it --rm -p 1234:8080 hpello/tcp-proxy my.cool.host 8080

To access a container running on the compose_default network, with name api and port 8080:

docker run -it --rm --network compose_default -p 1234:8080 hpello/tcp-proxy api 8080

Listen port

By default, tcp-proxy will listen on the same port as the one specified.

This can be overriden by setting the LISTEN_PORT environment variable.

tcp-proxy-docker's People

Contributors

hpello avatar hamed-deve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.