Ask Your Question
0

can we create security group for individual network

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

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
1

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

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

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

Comments

Yes.. its worked for me

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 16 times

Last updated: Aug 29