# http tunnel with gtriggiano/ngrok-tunnel
docker run -d -p 5000:5000 gtriggiano/dummy-http-service:latest
docker run -it -e "TARGET_HOST=192.168.0.8" -e "TARGET_PORT=5000" -p 192.168.0.33:4040:5000 gtriggiano/ngrok-tunnel
# SSH tunnel
docker run -d -p 5000:22 rastasheep/ubuntu-sshd
docker run -d -e "NGROK_AUTH=******" -e "NGROK_PROTOCOL=TCP" -e "NGROK_PORT=192.168.0.33:5000" wernight/ngrok
test it on play-with-docker.com
Ref:
https://hub.docker.com/r/wernight/ngrok/
https://github.com/gtriggiano/ngrok-tunnel
https://labs.play-with-docker.com/
No comments:
Post a Comment