View the security groups on the ports
You can view security groups on a specific server port or download a report on all safety groups in the project.
View the security groups on the port
Port on a private network
Control panel
OpenStack CLI
- В control panels go to Cloud platform → Network.
- Open the tab Private networks.
- Open the network page → tab Ports.
- In the cloud server port bar, look for a list of security groups.
- Optional: to see a list of rules in a group, click on its name.
-
See the IDs of the security groups that are assigned to the port (parameter
security_group_ids
in the output of the command):openstack port show <port>
Specify
<port>
— ID or port name, can be viewed with the commandopenstack port list
. -
Check out the group information and the list of rules in the group:
openstack security group show <security_group_id>
Specify
<security_group_id>
— The group ID that was looked up in step 3.
A port on a public network
Control panel
OpenStack CLI
- В control panels go to Cloud platform → Network.
- Open the tab Public networks.
- Open the network card → tab Ports.
- In the cloud server port bar, look for a list of security groups.
- Optional: to see a list of rules in a group, click on its name.
-
See the IDs of the security groups that are assigned to the port (parameter
security_group_ids
in the output of the command):openstack port show <port>
Specify
<port>
— ID or port name, can be viewed with the commandopenstack port list
. -
Check out the group information and the list of rules in the group:
openstack security group show <security_group_id>
Specify
<security_group_id>
— The group ID you looked up in step 2.
Download a report on all safety groups in the project
You can download a report on the security groups on the ports of all cloud servers in the project. The report will display a list of servers, their ports and security groups on each port, as well as the status of the port security on the port and on the network.
-
В control panels go to Cloud platform → Security groups.
-
In the upper right corner, click Download the report.
-
Open the file and look at the data:
Pool
— pool where the server is located;Device name
— server name;Device UUID
— Server UUID;Port IP
— The IP address of the port on the server;Port MAC address
— MAC address of the port;Port UUID
— Port UUID;Port Security enabled
— the state of traffic filtering (port security) on the port:TRUE
— included,FALSE
— is off;Port Security groups
— list of security groups that are assigned to the port. The list of rules in a group can be viewed in control panels under Cloud platform → Security groups → group page;Network name
— the name of the network on which the port is created;Network UUID
— Network UUID;Network Port Security
— the state of traffic filtering (port security) on the network:TRUE
— included,FALSE
— is off.