Ask Your Question

can we create security group for individual network

asked 2019-08-29 09:07:53 -0500

snowmoon gravatar image

Hello ,

Is it possible to create security group for individual network ? That is ,I have 4 network for my instance . 1 network I have to create a security group with few restriction . Network 2 ,I want to apply a security group without any restriction that 1-65000 port needs to be opened . Is it possible to create different security group for individual network ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-08-29 09:41:25 -0500

updated 2019-08-29 09:44:42 -0500

Security groups are created on ports, actually. So, the short answer is yes.

Longer answer: You create a port on each network, add a different security group to each port, and add the ports to your instance.

Below, the upper-case words have to be replaced with your actual networks, ports etc.

openstack port create NETWORK
openstack port set --security-group SECGROUP PORT
openstack server add port SERVER PORT
edit flag offensive delete link more


Yes.. its worked for me

snowmoon gravatar imagesnowmoon ( 2019-09-20 09:24:52 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-08-29 09:07:53 -0500

Seen: 67 times

Last updated: Aug 29 '19