mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: mosh
This commit is contained in:
parent
91f77cb208
commit
803b8eb29b
3 changed files with 22 additions and 0 deletions
|
|
@ -1,6 +1,25 @@
|
|||
resource "oci_core_default_security_list" "this" {
|
||||
manage_default_resource_id = local.vcn.default_security_list_id
|
||||
|
||||
dynamic "ingress_security_rules" {
|
||||
for_each = [
|
||||
{ from = 60000
|
||||
to = 61000 }
|
||||
]
|
||||
iterator = port
|
||||
content {
|
||||
protocol = local.protocol_number.udp
|
||||
source = "0.0.0.0/0"
|
||||
|
||||
description = "Mosh traffic from any origin"
|
||||
|
||||
udp_options {
|
||||
max = port.to
|
||||
min = port.from
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dynamic "ingress_security_rules" {
|
||||
for_each = [22, 80, 443]
|
||||
iterator = port
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue