SatyamChauhan-7119 avatar image
0 Votes"
SatyamChauhan-7119 asked AshokPeddakotla-MSFT commented

How to add IoTHub in Networking port rules of a VM

I want to add the IoT Hub and Azure Container Registry in the Destination of Outbound port rule of a azure VM where IoT Edge runtime is installed, so that IoT Edge can send data only to specific IoT Hub. I tried by adding the hostname of the IoT Hub but it is not helping. Providing Any in the destination is working but I want the port to be accessible only to IoT Hub.259934-screenshot-145.png

Please let me know if there is a way to achieve this.

screenshot-145.png (93.5 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SatyamChauhan-7119 Can you add more details about your query for further help?

I tried by adding the hostname of the IoTHub but it is not helping

How exactly you have added the destination? which port you have added? Can you share screenshot for better understanding?

Did you see IoT Hub support for virtual networks with Private Link and Managed Identity and Configure an IoT Edge device to act as a transparent gateway not helpful?

0 Votes 0 ·

@AshokPeddakotla-MSFT I have updated the details about the query.

0 Votes 0 ·

@SatyamChauhan-7119 Thanks for sharing the additional details. We are looking into this issue and update you as earliest. Appreciate your time and patience.
Meanwhile, please check this similar thread which addressed Inbound and outbound NSG rules for IoT edge Virtual Machine to connect with Azure IoT Hub and see if it helps to resolve your query.

0 Votes 0 ·

0 Answers