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
demandé il y a 2 ans400 vues
1 réponse
1
Réponse acceptée

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
EXPERT
Greg_B
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions