Skip to content
Snippets Groups Projects
Commit cd06643f authored by František Dvořák's avatar František Dvořák
Browse files

Firewall: fix local access through floating IP

parent e12a7048
No related branches found
No related tags found
No related merge requests found
......@@ -46,3 +46,10 @@ resource "openstack_networking_secgroup_rule_v2" "secgroup_rule_other6" {
remote_ip_prefix = each.key
security_group_id = openstack_networking_secgroup_v2.secgroup.id
}
resource "openstack_networking_secgroup_rule_v2" "secgroup_rule_floatip" {
direction = "ingress"
ethertype = "IPv4"
remote_ip_prefix = openstack_networking_floatingip_v2.floatip_1.address
security_group_id = openstack_networking_secgroup_v2.secgroup.id
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment