Sign inSign up

attensys/remote-tunnel

By attensys

Updated over 4 years ago

Image
0

588

attensys/remote-tunnel repository overview

Remote tunnel

Expose a TCP port to the internet.

Usage

This will tunnel local port 7080 to port 10000 on the remote server.

docker run --rm -it --net=host -e REMOTE_PORT=10000 -e LOCAL_PORT=7080 -e LOCAL_HOST=localhost attensys/remote-tunnel:latest

Now the service is accessible at: http://tunnel.attensys.io:10000/

In a docker-compose file
version: "2.1"

services:
  gateway-api:
    image: gateway-api
    ports:
      - 7080:7080

  gateway-api-proxy:
    image: attensys/remote-tunnel:latest
    environment:
      - LOCAL_HOST=gateway-api
      - LOCAL_PORT=7080
      - REMOTE_PORT=10000
ARM-HF
docker run --rm -it --net=host -e REMOTE_PORT=10000 -e LOCAL_PORT=7080 -e LOCAL_HOST=localhost attensys/remote-tunnel:armhf

Build and release to docker hub

./release.sh

Tag summary

Content type

Image

Digest

Size

5.4 MB

Last updated

over 4 years ago

docker pull attensys/remote-tunnel