File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,17 @@ resource "google_compute_firewall" "ndt_access" {
37
37
source_ranges = [" 0.0.0.0/0" ]
38
38
target_tags = [" ndt-server" ]
39
39
}
40
+
41
+ # Allow external access to any port for IPv6 traffic platform VMs.
42
+ resource "google_compute_firewall" "ndt_access_ipv6" {
43
+ allow {
44
+ ports = [" 80" , " 443" ]
45
+ protocol = " tcp"
46
+ }
47
+
48
+ description = " Allow IPv6 access to NDT servers"
49
+ name = " ndt-access-ipv6"
50
+ network = google_compute_network. autojoin . name
51
+ source_ranges = [" ::/0" ]
52
+ target_tags = [" ndt-server" ]
53
+ }
Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ resource "google_compute_instance" "autonode" {
15
15
access_config {
16
16
nat_ip = google_compute_address. autonode_ipv4 . address
17
17
}
18
+ ipv6_access_config {
19
+ network_tier = " PREMIUM"
20
+ }
18
21
network = google_compute_network. autojoin . name
22
+ stack_type = " IPV4_IPV6"
19
23
subnetwork = google_compute_subnetwork. autojoin . name
20
24
}
21
25
You can’t perform that action at this time.
0 commit comments