View the security groups on the ports
You can view security groups on a specific server port or download a report on all security groups in a project.
View the security groups on the port
Private subnet, global router subnet
Public subnet
Control panel
OpenStack CLI
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to Network → Private Networks tab.
- Open the Network page → Ports tab.
- 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.
-
Look at the IDs of the security groups that are assigned to the port (
security_group_idsparameter in the command output):openstack port show <port>Specify
<port>— The port ID or name can be viewed using theopenstack port listcommand. -
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 3.
Control panel
OpenStack CLI
- In the Dashboard, on the top menu, click Products and select Cloud Servers.
- Go to Network → Public Networks.
- Open the Network Card → Ports tab.
- 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.
-
Look at the IDs of the security groups that are assigned to the port (
security_group_idsparameter in the command output):openstack port show <port>Specify
<port>— The port ID or name can be viewed using theopenstack port listcommand. -
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 port security groups 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 state of traffic filtering (port security) on the port and in the network.
-
In the Dashboard, on the top menu, click Products and select Cloud Servers.
-
Go to the Security Groups section.
-
In the upper right corner, click Download Report.
-
Open the file and look at the data:
Pool— pool in which 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— The MAC address of the port;Port UUID— Port UUID;Port Security enabled— the state of port security on the port:TRUE— enabled,FALSE— off;Port Security groups— The list of security groups that are assigned to the port.The list of rules in the group can be viewed in the control panel: in the top menu, click Products → Cloud Servers → 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 network port security status:TRUE— enabled,FALSE— off.