Skip to content

Commit 0d5ff6c

Browse files
build: unblock ingress on ntp port to the proxy server
1 parent b79ccc3 commit 0d5ff6c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cloud/proxy.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,16 @@ resource "aws_vpc_security_group_ingress_rule" "https" {
238238
to_port = 443
239239
}
240240

241+
# https://search.opentofu.org/provider/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule
242+
resource "aws_vpc_security_group_ingress_rule" "ntp" {
243+
security_group_id = aws_security_group.network.id
244+
245+
cidr_ipv4 = "0.0.0.0/0"
246+
ip_protocol = "udp"
247+
from_port = 123
248+
to_port = 123
249+
}
250+
241251
# https://search.opentofu.org/provider/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule
242252
resource "aws_vpc_security_group_ingress_rule" "wireguard" {
243253
security_group_id = aws_security_group.network.id

0 commit comments

Comments
 (0)