Skip to content

Commit f14446a

Browse files
authored
Merge pull request #17 from GovTechSG/fix-nacl-for-alb
fix: nacl for alb
2 parents 14ae252 + 63157b5 commit f14446a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

nacl.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,10 @@ resource "aws_network_acl_rule" "intra_outbound_allow_all_ephemeral_rule_seconda
969969
# The key ports required for transit gateway connectivity are:
970970
# - Port 443 for HTTPS communication between the VPCs and transit gateway control plane.
971971
# - Port 2049 for NFS traffic if you enable file sharing using NFS.
972-
# - Ports from 32768 to 61000 for Generic Routing Encapsulation (GRE) tunnels if you use appliance mode.
972+
# - Ports from 1024 to 65535 for
973+
# ALB: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-troubleshooting.html
974+
# The network ACL associated with the subnets for your load balancer nodes must allow inbound traffic on the ephemeral ports and outbound traffic on the health check and ephemeral ports.
975+
# Generic Routing Encapsulation (GRE) tunnels if you use appliance mode.
973976
# Appliance mode allows you to deploy virtual appliances for functions like routing,
974977
# firewalling etc across connected VPCs.
975978
resource "aws_network_acl_rule" "intra_outbound_allow_all_ephemeral_rule_tgw" {
@@ -978,8 +981,8 @@ resource "aws_network_acl_rule" "intra_outbound_allow_all_ephemeral_rule_tgw" {
978981
rule_number = 1150
979982
cidr_block = "0.0.0.0/0"
980983
protocol = "tcp"
981-
from_port = 32768
982-
to_port = 61000
984+
from_port = 1024
985+
to_port = 65535
983986
rule_action = "allow"
984987
egress = "true"
985988
}

0 commit comments

Comments
 (0)