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
# Customer intent: As a developer or IT Admin, I want to know how to allow access to my Service Bus namespace only from selected networks.
7
8
---
8
9
9
10
# Allow access to Azure Service Bus namespace from specific virtual networks
@@ -61,6 +62,9 @@ This section shows you how to use Azure portal to add a virtual network service
61
62
> [!NOTE]
62
63
> You see the **Networking** tab only for **premium** namespaces.
63
64
1. On the **Networking** page, for **Public network access**, you can set one of the three following options. Choose **Selected networks** option to allow access from only specified IP addresses.
65
+
-**All networks** (default). This option enables public access from all networks using an access key. If you select the **All networks** option, Service Bus accepts connections from any IP address (using the access key). This setting is equivalent to a rule that accepts the 0.0.0.0/0 IP address range.
66
+
67
+
:::image type="content" source="./media/service-bus-ip-filtering/firewall-all-networks-selected.png" alt-text="Screenshot of the Networking tab of a Service Bus namespace with the default option All networks selected.":::
64
68
-**Disabled**. This option disables any public access to the namespace. The namespace is accessible only through [private endpoints](private-link-service.md).
65
69
66
70
:::image type="content" source="./media/service-bus-ip-filtering/public-access-disabled-page.png" alt-text="Screenshot that shows the Networking page of a namespace with public access disabled.":::
@@ -70,7 +74,6 @@ This section shows you how to use Azure portal to add a virtual network service
70
74
71
75
> [!IMPORTANT]
72
76
> If you choose **Selected networks**, add at least one IP firewall rule or a virtual network that will have access to the namespace. Choose **Disabled** if you want to restrict all traffic to this namespace over [private endpoints](private-link-service.md) only.
73
-
-**All networks** (default). This option enables public access from all networks using an access key. If you select the **All networks** option, Service Bus accepts connections from any IP address (using the access key). This setting is equivalent to a rule that accepts the 0.0.0.0/0 IP address range.
74
77
2. To restrict access to specific virtual networks, select the **Selected networks** option if it isn't already selected.
75
78
1. In the **Virtual Network** section of the page, select **+Add existing virtual network**. Select **+ Create new virtual network** if you want to create a new virtual network.
76
79
@@ -242,7 +245,7 @@ Azure portal always uses the latest API version to get and set properties. If yo
242
245
243
246
:::image type="content" source="./media/service-bus-ip-filtering/firewall-all-networks-selected.png" alt-text="Screenshot of the Azure portal Networking page. The option to allow access from All networks is selected on the Firewalls and virtual networks tab.":::
244
247
245
-
## Next steps
248
+
## Related content
246
249
247
250
For more information about virtual networks, see the following links:
0 commit comments