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
asked a year ago383 views
1 Answer
1
Accepted Answer

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
answered a year ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions