Skip to content

Commit 201a783

Browse files
Merge pull request #288427 from AbdullahBell/patch-841010
Private Link: Minor Update: Manage network policies for private endpoints
2 parents 6de20b2 + 6e77da9 commit 201a783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/private-link/disable-private-endpoint-network-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ By default, network policies are disabled for a subnet in a virtual network. To
1818

1919
You can enable network policies either for network security groups only, for user-defined routes only, or for both.
2020

21-
If you enable network security policies for user-defined routes, you can use a custom address prefix equal to or larger than the virtual network address space to invalidate the /32 default route propagated by the private endpoint. This capability can be useful if you want to ensure that private endpoint connection requests go through a firewall or virtual appliance. Otherwise, the /32 default route sends traffic directly to the private endpoint in accordance with the [longest prefix match algorithm](../virtual-network/virtual-networks-udr-overview.md#how-azure-selects-a-route).
21+
If you enable network security policies for user-defined routes, you can use a custom address prefix length (subnet mask) equal to or larger than the virtual network address space prefix length to invalidate the /32 default route propagated by the private endpoint. This capability can be useful if you want to ensure that private endpoint connection requests go through a firewall or virtual appliance. Otherwise, the /32 default route sends traffic directly to the private endpoint in accordance with the [longest prefix match algorithm](../virtual-network/virtual-networks-udr-overview.md#how-azure-selects-a-route).
2222

2323
> [!IMPORTANT]
24-
> To invalidate a private endpoint route, user-defined routes must have a prefix equal to or larger than the virtual network address space where the private endpoint is provisioned. For example, a user-defined routes default route (0.0.0.0/0) doesn't invalidate private endpoint routes. Network policies should be enabled in the subnet that hosts the private endpoint.
24+
> To invalidate a private endpoint route, user-defined routes must have a prefix size that is equal to or smaller than the virtual network address space where the private endpoint is provisioned. For example, a user-defined routes default route (0.0.0.0/0) won't invalidate private endpoint routes because it covers a broader range than the private endpoint's address space. The longest prefix match rule will give higher priority to more specific address prefixes. Additionally, ensure that network policies are enabled in the subnet hosting the private endpoint.
2525
2626
Use the following steps to enable or disable network policy for private endpoints:
2727

@@ -204,4 +204,4 @@ This section describes how to disable subnet private endpoint policies by using
204204
205205
## Next steps
206206

207-
- To learn more, see [What is a private endpoint?](private-endpoint-overview.md).
207+
- To learn more, see [What is a private endpoint?](private-endpoint-overview.md).

0 commit comments

Comments
 (0)