Skip to content

Commit

Permalink
Merge pull request #8 from qbeyond/fix/add-missing-ad-firewall-ports
Browse files Browse the repository at this point in the history
add missing ad rules
  • Loading branch information
QBY-ChristianHartmann authored Apr 30, 2024
2 parents 2671d4a + c518ced commit 129f712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.

## [Unreleased]

## [2.0.1] - 2024-04-29

### Fixed
- add missing RPC randomly allocated high TCP ports for AD (`49152 – 65535`) between domain controllers.

## [2.0.0] - 2024-04-09

### Added
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "azurerm_firewall_policy_rule_collection_group" "this" {
destination_ip_groups = var.ipg_onpremise_dc_id != null ? [var.ipg_azure_dc_id, var.ipg_onpremise_dc_id] : [var.ipg_azure_dc_id]
destination_ports = [
"53", "88", "123", "135", "137", "138", "139",
"389", "445", "464", "636", "3268", "3269", "9389"
"389", "445", "464", "636", "3268", "3269", "9389", "49152-65535"
]
}
}
Expand All @@ -75,7 +75,7 @@ resource "azurerm_firewall_policy_rule_collection_group" "this" {

rule {
name = "allow-dc-to-dnsresolver-inbound"
protocols = ["UDP","TCP"]
protocols = ["UDP", "TCP"]
source_ip_groups = var.ipg_onpremise_dc_id != null ? [var.ipg_azure_dc_id, var.ipg_onpremise_dc_id] : [var.ipg_azure_dc_id]
destination_ip_groups = [var.ipg_dnsprivateresolver_id]
destination_ports = ["53"]
Expand Down

0 comments on commit 129f712

Please sign in to comment.