Skip to content

Commit 6d06907

Browse files
committed
allow inbound icmp
1 parent 6f48694 commit 6d06907

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

terraform/devnet-1/firewall.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ resource "digitalocean_firewall" "main" {
1414
source_addresses = ["0.0.0.0/0", "::/0"]
1515
}
1616

17+
// Allow all inbound ICMP
18+
rule {
19+
description = "Allow all inbound ICMP"
20+
protocol = "icmp"
21+
source_ips = ["0.0.0.0/0", "::/0"]
22+
}
23+
1724
// Nginx / Web
1825
inbound_rule {
1926
protocol = "tcp"

terraform/devnet-1/hetzner/firewall.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ resource "hcloud_firewall" "machine_firewall" {
1010
source_ips = ["0.0.0.0/0", "::/0"]
1111
}
1212

13+
# Allow all inbound ICMP
14+
rule {
15+
description = "Allow all inbound ICMP"
16+
direction = "in"
17+
protocol = "icmp"
18+
source_ips = ["0.0.0.0/0", "::/0"]
19+
}
20+
1321
# Nginx / Web
1422
rule {
1523
description = "Allow HTTP"

0 commit comments

Comments
 (0)