Change firewall to open our unpriv ports.
This commit is contained in:
parent
1e964abe90
commit
b0828d6932
1 changed files with 8 additions and 8 deletions
16
main.tf
16
main.tf
|
@ -21,8 +21,8 @@ resource "openstack_networking_secgroup_rule_v2" "https_rule1" {
|
||||||
direction = "ingress"
|
direction = "ingress"
|
||||||
ethertype = "IPv4"
|
ethertype = "IPv4"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
port_range_min = 443
|
port_range_min = 30443
|
||||||
port_range_max = 443
|
port_range_max = 30443
|
||||||
remote_ip_prefix = "0.0.0.0/0"
|
remote_ip_prefix = "0.0.0.0/0"
|
||||||
security_group_id = openstack_networking_secgroup_v2.https.id
|
security_group_id = openstack_networking_secgroup_v2.https.id
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,8 @@ resource "openstack_networking_secgroup_rule_v2" "https_rule2" {
|
||||||
direction = "ingress"
|
direction = "ingress"
|
||||||
ethertype = "IPv6"
|
ethertype = "IPv6"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
port_range_min = 443
|
port_range_min = 30443
|
||||||
port_range_max = 443
|
port_range_max = 30443
|
||||||
remote_ip_prefix = "::/0"
|
remote_ip_prefix = "::/0"
|
||||||
security_group_id = openstack_networking_secgroup_v2.https.id
|
security_group_id = openstack_networking_secgroup_v2.https.id
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,8 @@ resource "openstack_networking_secgroup_rule_v2" "https_rule3" {
|
||||||
direction = "ingress"
|
direction = "ingress"
|
||||||
ethertype = "IPv4"
|
ethertype = "IPv4"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
port_range_min = 80
|
port_range_min = 30080
|
||||||
port_range_max = 80
|
port_range_max = 30080
|
||||||
remote_ip_prefix = "0.0.0.0/0"
|
remote_ip_prefix = "0.0.0.0/0"
|
||||||
security_group_id = openstack_networking_secgroup_v2.https.id
|
security_group_id = openstack_networking_secgroup_v2.https.id
|
||||||
}
|
}
|
||||||
|
@ -48,8 +48,8 @@ resource "openstack_networking_secgroup_rule_v2" "https_rule4" {
|
||||||
direction = "ingress"
|
direction = "ingress"
|
||||||
ethertype = "IPv6"
|
ethertype = "IPv6"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
port_range_min = 80
|
port_range_min = 30080
|
||||||
port_range_max = 80
|
port_range_max = 30080
|
||||||
remote_ip_prefix = "::/0"
|
remote_ip_prefix = "::/0"
|
||||||
security_group_id = openstack_networking_secgroup_v2.https.id
|
security_group_id = openstack_networking_secgroup_v2.https.id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue