1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #-: Wrong source address in inbound rules for DO (#1384)

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
Ricardo Diaz 2021-07-27 13:18:15 +02:00 committed by GitHub
parent 16758d6ce0
commit c5d3bc82fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,14 +22,14 @@ resource "digitalocean_firewall" "device_<%= obj['ID'] %>" {
inbound_rule {
protocol = "tcp"
port_range = "179"
source_addresses = ["10.10.10.0/24"]
source_addresses = [digitalocean_vpc.device_<%= c['ID'] %>.ip_range]
}
# VXLAN traffic from VPC droplets. IP range MUST be consistent with cluster.erb
inbound_rule {
protocol = "udp"
port_range = "8472"
source_addresses = ["10.10.10.0/24"]
source_addresses = [digitalocean_vpc.device_<%= c['ID'] %>.ip_range]
}
# Client Ports for VMs. Port range MUST be consistent with VNET definition