You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-create-transparent-gateway.md
+43-43Lines changed: 43 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ If you don't have a device ready, you can create one in an Azure virtual machine
75
75
# [IoT Edge for Linux on Windows](#tab/eflow)
76
76
77
77
>[!WARNING]
78
-
> Because the IoT Edge for Linux on Windows (EFLOW) virtual machine needs to be accessible from external devices, ensure to deploy EFLOW with an External virtual switch. For more information about EFLOW networking configurations, see [Networking configuration for Azure IoT Edge for Linux on Windows](./how-to-configure-iot-edge-for-linux-on-windows-networking.md).
78
+
> Because the IoT Edge for Linux on Windows (EFLOW) virtual machine needs to be accessible from external devices, ensure to deploy EFLOW with an _external_ virtual switch. For more information about EFLOW networking configurations, see [Networking configuration for Azure IoT Edge for Linux on Windows](./how-to-configure-iot-edge-for-linux-on-windows-networking.md).
79
79
80
80
A Windows device with IoT Edge for Linux on Windows installed.
81
81
@@ -117,42 +117,42 @@ If you created the certificates on a different machine, copy them over to your I
117
117
118
118
# [IoT Edge for Linux on Windows](#tab/eflow)
119
119
120
-
Now you need to copy the certificates to the Azure IoT Edge for Linux on Windows virtual machine to proceed with the next steps.
121
-
122
-
1. Open an elevated _PowerShell_ session by starting with **Run as Administrator**.
123
-
1. Connect to the EFLOW virtual machine.
124
-
```powershell
125
-
Connect-EflowVm
126
-
```
127
-
128
-
1. Create the certificates directory - You can select any of the writeable directories. For this tutorial, we'll use the _iotedge-user_ home folder.
129
-
```bash
130
-
cd ~
131
-
mkdir certs
132
-
cd certs
133
-
mkdir certs
134
-
mkdir private
135
-
```
136
-
137
-
1. Exit the EFLOW VM connection.
138
-
```bash
139
-
exit
140
-
```
141
-
142
-
1. Copy the certificates to the EFLOW virtual machine.
1. Connect to the EFLOW VM and change the permissions of the certificate files as the commands above copies the certificates with root only access permissions.
1. Invoke the following commands on the EFLOW VM to grant iotedge permissions to the certificate files since `Copy-EflowVMFile` copies files with root only access permissions.
@@ -165,8 +165,8 @@ Now you need to copy the certificates to the Azure IoT Edge for Linux on Windows
165
165
* Linux: `/etc/iotedge/config.yaml`
166
166
* IoT Edge for Linux on Windows: `/etc/iotedge/config.yaml`
167
167
168
-
>[!TIP]
169
-
> If you are using IoT Edge for Linux on Windows (EFLOW) you'll have to connect to the EFLOW virtual machine and change the file inside the VM. You can connect to the EFLOW VM using the PowerShell cmdlet `Connect-EflowVm` and then use your preferred editor.
168
+
>[!TIP]
169
+
> If you are using IoT Edge for Linux on Windows (EFLOW) you'll have to connect to the EFLOW virtual machine and change the file inside the VM. You can connect to the EFLOW VM using the PowerShell cmdlet `Connect-EflowVm` and then use your preferred editor.
170
170
171
171
1. Find the **Certificate settings** section of the file. Uncomment the four lines starting with **certificates:** and provide the file URIs to your three files as values for the following properties:
172
172
***device_ca_cert**: device CA certificate
@@ -188,7 +188,7 @@ Now you need to copy the certificates to the Azure IoT Edge for Linux on Windows
188
188
<!-- iotedge-2020-11 -->
189
189
:::moniker range=">=iotedge-2020-11"
190
190
191
-
1.On your IoT Edge device, open the config file: `/etc/aziot/config.toml` - If you're using IoT Edge for Linux on Windows, you'll have to connect to the EFLOW virtual machine using the `Connect-EflowVm` PowerShell cmdlet.
191
+
1.On your IoT Edge device, open the config file: `/etc/aziot/config.toml`. If you're using IoT Edge for Linux on Windows, you'll have to connect to the EFLOW virtual machine using the `Connect-EflowVm` PowerShell cmdlet.
192
192
193
193
>[!TIP]
194
194
>If the config file doesn't exist on your device yet, then use `/etc/aziot/config.toml.edge.template` as a template to create one.
@@ -258,7 +258,7 @@ Standard IoT Edge devices don't need any inbound connectivity to function, becau
258
258
259
259
# [IoT Edge](#tab/iotedge)
260
260
261
-
For a gateway scenario to work, at least one of the IoT Edge hub's supported protocols must be open for inbound traffic from downstream devices. The supported protocols are MQTT, AMQP, HTTPS, MQTT over WebSockets, and AMQP over WebSockets.
261
+
For a gateway scenario to work, at least one of the IoT Edge Hub's supported protocols must be open for inbound traffic from downstream devices. The supported protocols are MQTT, AMQP, HTTPS, MQTT over WebSockets, and AMQP over WebSockets.
262
262
263
263
| Port | Protocol |
264
264
| ---- | -------- |
@@ -268,15 +268,15 @@ For a gateway scenario to work, at least one of the IoT Edge hub's supported pro
268
268
269
269
# [IoT Edge for Linux on Windows](#tab/eflow)
270
270
271
-
For a gateway scenario to work, at least one of the IoT Edge hub's supported protocols must be open for inbound traffic from downstream devices. The supported protocols are MQTT, AMQP, HTTPS, MQTT over WebSockets, and AMQP over WebSockets.
271
+
For a gateway scenario to work, at least one of the IoT Edge Hub's supported protocols must be open for inbound traffic from downstream devices. The supported protocols are MQTT, AMQP, HTTPS, MQTT over WebSockets, and AMQP over WebSockets.
272
272
273
273
| Port | Protocol |
274
274
| ---- | -------- |
275
275
| 8883 | MQTT |
276
276
| 5671 | AMQP |
277
277
| 443 | HTTPS <br> MQTT+WS <br> AMQP+WS |
278
278
279
-
Finally, you must open the EFLOW virtual machine ports. You can open the three ports mentioned above using the following PowerShell cmdlet
279
+
Finally, you must open the EFLOW virtual machine ports. You can open the three ports mentioned above using the following PowerShell cmdlets.
0 commit comments