Skip to content
Cloud Governance Tools

Network interfaces should disable IP forwarding

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.

More network perimeter guardrails ยท About Azure Policy

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)
Test before applying
As for every Azure Policy guardrail: how to test before enforcing
Mechanism
Azure Policy (built-in definitions): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
Taken from
open source set, 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"

Sources

  1. Network interfaces should disable IP forwarding, read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.