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/hdinsight/hdinsight-restrict-outbound-traffic.md
+28-39Lines changed: 28 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,17 +46,19 @@ Select the new firewall **Test-FW01** from the Azure portal. Click **Rules** und
46
46
47
47
On the **Add application rule collection** screen, complete the following steps:
48
48
49
-
1. Enter a **Name**, **Priority**, and click **Allow** from the **Action** dropdown menu.
50
-
1. Add the following rules:
51
-
1. A rule to allow HDInsight and Windows Update traffic:
52
-
1. In the **FQDN tags** section, provide a **Name**, and set **Source addresses** to `*`.
53
-
1. Select **HDInsight** and the **WindowsUpdate** from the **FQDN Tags** dropdown menu.
54
-
1. A rule to allow Windows login activity:
55
-
1. In the **Target FQDNs** section, provide a **Name**, and set **Source addresses** to `*`.
56
-
1. Enter `https:443` under **Protocol:Port** and `login.windows.net` under **Target FQDNS**.
57
-
1. If your cluster is backed by WASB, then add a rule for WASB:
58
-
1. In the **Target FQDNs** section, provide a **Name**, and set **Source addresses** to `*`.
59
-
1. Enter `http:80,https:443` under **Protocol:Port** and the storage account url under **Target FQDNS**. The format will be similar to <storage_account_name.blob.core.windows.net>. To use ONLY https connections make sure ["secure transfer required"](https://docs.microsoft.com/azure/storage/common/storage-require-secure-transfer) is enabled on the storage account.
49
+
1. Enter a **Name**, **Priority**, and click **Allow** from the **Action** dropdown menu, and enter the following rules in the **FQDN Tags Section** :
| Rule_3 | * | https:443,http:80 | <storage_account_name.blob.core.windows.net> | If your cluster is backed by WASB, then add a rule for WASB. To use ONLY https connections make sure ["secure transfer required"](https://docs.microsoft.com/azure/storage/common/storage-require-secure-transfer) is enabled on the storage account. |
61
+
60
62
1. Click **Add**.
61
63
62
64

@@ -68,34 +70,21 @@ Create the network rules to correctly configure your HDInsight cluster.
68
70
1. Select the new firewall **Test-FW01** from the Azure portal.
1. On the **Add network rule collection** screen, enter a **Name**, **Priority**, and click **Allow** from the **Action** dropdown menu.
71
-
1. Create the following rules:
72
-
1. A network rule in the IP Addresses section that allows the cluster to perform clock sync using NTP.
73
-
1. In the **Rules** section, provide a **Name** and select **UDP** from the **Protocol** dropdown.
74
-
1. Set **Source Addresses** and **Destination addresses** to `*`.
75
-
1. Set **Destination Ports** to 123.
76
-
1. If you are using Enterprise Security Package (ESP), then add a network rule in the IP Addresses section that allows communication with AAD-DS for ESP clusters.
77
-
1. Determine the two IP addresses for your domain controllers.
78
-
1. In the next row in the **Rules** section, provide a **Name** and select **Any** from the **Protocol** dropdown.
79
-
1. Set **Source Addresses**`*`.
80
-
1. Enter all of the IP addresses for your domain controllers in **Destination addresses** separated by commas.
81
-
1. Set **Destination Ports** to `*`.
82
-
1. If you are using Azure Data Lake Storage, then you can add a network rule in the IP Addresses section to address an SNI issue with ADLS Gen1 and Gen2. This option will route the traffic to firewall which might result in higher costs for large data loads but the traffic will be logged and auditable in firewall logs.
83
-
1. Determine the IP address for your Data Lake Storage account. You can use a powershell command such as `[System.Net.DNS]::GetHostAddresses("STORAGEACCOUNTNAME.blob.core.windows.net")` to resolve the FQDN to an IP address.
84
-
1. In the next row in the **Rules** section, provide a **Name** and select **TCP** from the **Protocol** dropdown.
85
-
1. Set **Source Addresses**`*`.
86
-
1. Enter the IP address for your storage account in **Destination addresses**.
87
-
1. Set **Destination Ports** to `*`.
88
-
1. (Optional) If you are using Log Analytics, then create a network rule in the IP Addresses section to enable communication with your Log Analytics workspace.
89
-
1. In the next row in the **Rules** section, provide a **Name** and select **TCP** from the **Protocol** dropdown.
90
-
1. Set **Source Addresses**`*`.
91
-
1. Set **Destination addresses** to `*`.
92
-
1. Set **Destination Ports** to `12000`.
93
-
1. Configure a network rule in the Service Tags section for SQL that will allow you to log and audit SQL traffic, unless you configured Service Endpoints for SQL Server on the HDInsight subnet which will bypass the firewall.
94
-
1. In the next row in the **Rules** section, provide a **Name** and select **TCP** from the **Protocol** dropdown.
95
-
1. Set **Source Addresses**`*`.
96
-
1. Set **Destination addresses** to `*`.
97
-
1. Select **Sql** from the **Service Tags** dropdown.
98
-
1. Set **Destination Ports** to `1433,11000-11999,14000-14999`.
73
+
1. Create the following rules in the **IP Addresses** section:
| Rule_2 | Any | * | DC_IP_Address_1, DC_IP_Address_2 |`*`| If you are using Enterprise Security Package (ESP), then add a network rule in the IP Addresses section that allows communication with AAD-DS for ESP clusters. You can find the IP addresses of the domain controllers on the AAD-DS section in the portal |
79
+
| Rule_3 | TCP | * | IP Address of your Data Lake Storage account |`*`| If you are using Azure Data Lake Storage, then you can add a network rule in the IP Addresses section to address an SNI issue with ADLS Gen1 and Gen2. This option will route the traffic to firewall which might result in higher costs for large data loads but the traffic will be logged and auditable in firewall logs. Determine the IP address for your Data Lake Storage account. You can use a powershell command such as `[System.Net.DNS]::GetHostAddresses("STORAGEACCOUNTNAME.blob.core.windows.net")` to resolve the FQDN to an IP address.|
80
+
| Rule_4 | TCP | * | * |`12000`| (Optional) If you are using Log Analytics, then create a network rule in the IP Addresses section to enable communication with your Log Analytics workspace. |
81
+
82
+
1. Create the following rules in the **Service Tags** section:
| Rule_7 | TCP | * | * |`1433,11000-11999,14000-14999`| Configure a network rule in the Service Tags section for SQL that will allow you to log and audit SQL traffic, unless you configured Service Endpoints for SQL Server on the HDInsight subnet which will bypass the firewall. |
87
+
99
88
1. Click **Add** to complete creation of your network rule collection.
100
89
101
90

0 commit comments