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
質問済み 2年前400ビュー
1回答
1
承認された回答

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
エキスパート
Greg_B
回答済み 2年前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ