SecureTunneling port forwarding

0

Overview

I'd like to use SecureTunneling to forward traffic from a PLC hanging off a Greengrass Core device as depicted below:

Enter image description here

Questions

Is this possible to achieve?
If so, how do I instruct the Greengrass Core Device for do the forwarding?

Background

The tutorials for the SecureTunneling Greengrass component give an overview of connecting to a Core device directly for SSH or HTTP, which is not exactly the same as this type of port forwarding operation: https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling-tutorial-open-tunnel.html

The page to setup a Secure Tunnel via AWS IoT allows entering a service, but the tutorials don't really show the syntax (if there is any) to achieve forwarding like this.

Enter image description here

ttnickb
preguntada hace 2 años400 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hi ttnickb. I don't think this is possible with the AWS-provided secure tunneling component. It's designed for accessing the Greengrass core device only. It's based on AWS IoT Device Client and that forwards to localhost.

You could create a custom component to achieve what you want. Possibly based on a fork of AWS IoT Device Client. This component is probably a good starting point: https://github.com/awslabs/aws-greengrass-labs-containerized-secure-tunneling

profile pictureAWS
EXPERTO
Greg_B
respondido hace 2 años
  • Thanks for the suggestion. I haven't pursued this further, but I assume you are correct based on what I have been able to find.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas