Skip to content

Commit 54810c5

Browse files
authored
Merge pull request #9492 from ministryofjustice/cica-ras-nat
🛂 CICA Tariff add NATted RAS range
2 parents f13a203 + f271f86 commit 54810c5

File tree

3 files changed

+14
-26
lines changed

3 files changed

+14
-26
lines changed

terraform/environments/core-network-services/cidr-ranges.tf

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ locals {
9797
cica-onprem-uat = "192.168.4.0/24"
9898
cica-onprem-prod = "10.2.30.0/24"
9999
cica-end-user-devices = "10.9.14.0/23"
100+
cica-ras-nat = "10.7.14.224/28"
100101

101102

102103

terraform/environments/core-network-services/firewall-rules/development_rules.json

+11-25
Original file line numberDiff line numberDiff line change
@@ -573,45 +573,31 @@
573573
"destination_port": "ANY",
574574
"protocol": "TCP"
575575
},
576-
"cica_devices_to_cica_tariff_dev_oracle": {
576+
"cica_devices_to_cica_tariff_dev": {
577577
"action": "PASS",
578578
"source_ip": "${cica-end-user-devices}",
579579
"destination_ip": "${cica-development}",
580-
"destination_port": "1521",
581-
"protocol": "TCP"
582-
},
583-
"cica_devices_to_cica_tariff_dev_forms": {
584-
"action": "PASS",
585-
"source_ip": "${cica-end-user-devices}",
586-
"destination_ip": "${cica-development}",
587-
"destination_port": "8001",
588-
"protocol": "TCP"
589-
},
590-
"cica_devices_to_cica_tariff_dev_reports": {
591-
"action": "PASS",
592-
"source_ip": "${cica-end-user-devices}",
593-
"destination_ip": "${cica-development}",
594-
"destination_port": "8002",
580+
"destination_port": "$TARIFF_TCP",
595581
"protocol": "TCP"
596582
},
597-
"cica_devices_to_cica_tariff_dev_weblogic": {
583+
"cica_ras_to_cica_tariff_dev": {
598584
"action": "PASS",
599-
"source_ip": "${cica-end-user-devices}",
585+
"source_ip": "${cica-ras-nat}",
600586
"destination_ip": "${cica-development}",
601-
"destination_port": "7001",
587+
"destination_port": "$TARIFF_TCP",
602588
"protocol": "TCP"
603589
},
604-
"cica_devices_to_cica_tariff_dev_weblogic2": {
590+
"cica_tariff_dev_to_cica_devices": {
605591
"action": "PASS",
606-
"source_ip": "${cica-end-user-devices}",
607-
"destination_ip": "${cica-development}",
608-
"destination_port": "7002",
592+
"source_ip": "${cica-development}",
593+
"destination_ip": "${cica-end-user-devices}",
594+
"destination_port": "ANY",
609595
"protocol": "TCP"
610596
},
611-
"cica_tariff_dev_to_cica_devices": {
597+
"cica_tariff_dev_to_cica_ras_nat": {
612598
"action": "PASS",
613599
"source_ip": "${cica-development}",
614-
"destination_ip": "${cica-end-user-devices}",
600+
"destination_ip": "${cica-ras-nat}",
615601
"destination_port": "ANY",
616602
"protocol": "TCP"
617603
},

terraform/environments/core-network-services/firewall-rules/sets.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"49152:65535"
3535
],
3636
"DOMAIN_CONTROLLER_UDP": ["53", "88", "123", "389", "464"],
37-
"RD_LICENSING_TCP": ["135", "139", "445", "49152:65535"]
37+
"RD_LICENSING_TCP": ["135", "139", "445", "49152:65535"],
38+
"TARIFF_TCP": ["1521", "7001", "7002", "8001", "8002"]
3839
}
3940
}

0 commit comments

Comments
 (0)