Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
fix(vmseries): disallow IP forwarding through the mgmt interface
Browse files Browse the repository at this point in the history
Prevent the first network interface (the management intrface) from
receiving packets with a non-matching destination IP address.

This is per recommendation of the official Reference Architecture. Also,
there are currently no known use cases which would require that.
  • Loading branch information
jabielecki committed Oct 11, 2021
1 parent 1ab7d21 commit d0ef5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vmseries/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "azurerm_network_interface" "this" {
location = var.location
resource_group_name = var.resource_group_name
enable_accelerated_networking = count.index == 0 ? false : var.accelerated_networking # for interface 0 it is unsupported by PAN-OS
enable_ip_forwarding = true
enable_ip_forwarding = count.index == 0 ? false : true # for interface 0 use false per Reference Arch
tags = try(var.interfaces[count.index].tags, var.tags)

ip_configuration {
Expand Down

0 comments on commit d0ef5f2

Please sign in to comment.