Add server-test

This commit is contained in:
Samuel Aubertin
2026-06-02 13:03:38 +02:00
parent 77e1caa3bc
commit 726675ba87
8 changed files with 134 additions and 1 deletions

34
server-test/firewall.tf Normal file
View File

@@ -0,0 +1,34 @@
resource "google_compute_firewall" "icmp_test" {
name = "allow-icmp-server-test"
network = "default"
direction = "INGRESS"
allow {
protocol = "icmp"
}
target_tags = ["skz-opack"]
source_ranges = ["0.0.0.0/0"]
}
resource "google_compute_firewall" "wireguard_test" {
name = "allow-wireguard-server-test"
network = "default"
direction = "INGRESS"
allow {
protocol = "udp"
ports = ["5353"]
}
target_tags = ["skz-opack"]
source_ranges = ["0.0.0.0/0"]
}
resource "google_compute_firewall" "ssh_test" {
name = "allow-ssh-server-test"
network = "default"
direction = "INGRESS"
allow {
protocol = "tcp"
ports = ["22"]
}
target_tags = ["skz-opack"]
source_ranges = ["0.0.0.0/0"]
}