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
posta 2 anni fa400 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Greg_B
con risposta 2 anni fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande