feat: Limited rustdesk to vpn IP only
This commit is contained in:
@@ -8,7 +8,7 @@ resource "hcloud_firewall" "this" {
|
||||
direction = "in"
|
||||
protocol = "tcp"
|
||||
port = "22"
|
||||
source_ips = var.allowed_ssh_source_ips
|
||||
source_ips = var.allowed_source_ips
|
||||
}
|
||||
|
||||
rule { # gitea ssh
|
||||
|
||||
@@ -28,7 +28,7 @@ variable "private_ip" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "allowed_ssh_source_ips" {
|
||||
variable "allowed_source_ips" {
|
||||
description = "CIDRs allowed to reach port 22 on dev. Set by the root module to the vpn server's public IP."
|
||||
type = list(string)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user