# Network interfaces should disable IP forwarding

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Network interfaces should disable IP forwarding is an Azure guardrail written in Azure Policy. Denies network interfaces that have IP forwarding enabled, which turns off Azure's source and destination check. What it breaks: interfaces with IP forwarding enabled are rejected, and the definition says the setting should be reviewed by the network security team.

```text
Built-in policy definition: Network interfaces should disable IP forwarding
Definition ID: 88c0b9da-ce96-4b03-9635-f29a937e2900
Category: Network
Supported effects: deny
policyRule (copied from the repository file):
{
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.Network/networkInterfaces"
        },
        {
          "field": "Microsoft.Network/networkInterfaces/enableIpForwarding",
          "equals": "true"
        }
      ]
    },
    "then": {
      "effect": "deny"
    }
  }
```

- **Blocks:** Denies network interfaces that have IP forwarding enabled, which turns off Azure's source and destination check.
- **Breaks:** Interfaces with IP forwarding enabled are rejected, and the definition says the setting should be reviewed by the network security team. ([source](https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/Network/NetworkIPForwardingNic_Deny.json))
- **Test before applying:** As for every Azure Policy guardrail: [how to test before enforcing](/mechanisms/azure-policy/)
- **Mechanism:** [Azure Policy (built-in definitions)](/mechanisms/azure-policy/): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
- **Taken from:** [open source set](https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/Network/NetworkIPForwardingNic_Deny.json), MIT License, Azure/azure-policy repository, https://raw.githubusercontent.com/Azure/azure-policy/master/LICENSE

## What the source says

"This policy denies the network interfaces which enabled IP forwarding." (read 10 Nov 2026).

On what it breaks: "This should be reviewed by the network security team"

## Related guardrails

- [Prevent creating or expanding public connectivity for VPCs](/guardrails/aws-scp-prevent-vpc-public-connectivity/): AWS, Service control policies (SCPs), network perimeter
- [Block internet gateway ingress for VPCs (declarative policy)](/guardrails/aws-declarative-vpc-block-public-access/): AWS, Declarative policies, network perimeter
- [Skip default network creation](/guardrails/gcp-orgpolicy-skip-default-network/): Google Cloud, Organization Policy Service (managed and legacy constraints), network perimeter
- [Gateway subnets should not have a network security group](/guardrails/azure-policy-gateway-subnet-no-nsg/): Azure, Azure Policy (built-in definitions), network perimeter
- [Configure key vaults to enable the firewall](/guardrails/azure-policy-keyvault-firewall/): Azure, Azure Policy (built-in definitions), network perimeter

## Related pages

- [Gateway subnets should not have a network security group (Azure Azure Policy)](/guardrails/azure-policy-gateway-subnet-no-nsg/)
- [Configure storage accounts to disallow public blob access (Azure Azure Policy)](/guardrails/azure-policy-storage-disable-public-blob/)
- [Storage accounts should disable public network access (Azure Azure Policy)](/guardrails/azure-policy-storage-disable-public-network/)

## Sources

- Network interfaces should disable IP forwarding: https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/Network/NetworkIPForwardingNic_Deny.json (read 10 Nov 2026)
- How to test it first: https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/azure-policy-nic-no-ip-forwarding/
