Creating the security group rules to allow web traffic
In this recipe, you will learn how to allow web traffic. We will create rules to allow the traffic destined only to a web server running in a VM. Web traffic is associated with TCP ports 80 for HTTP and 443 for HTTPS.
Getting ready
For this recipe, you will need the following information:
The name of the Network
The name for the security group
For this recipe, we will use the Chapter7_Network1
Network and the Chapter7_SecurityGroup1
security group that we created in the previous recipe.
How to do it…
The following steps will show you how to open specific application-related protocol ports in a security group:
Log in to Horizon with the appropriate credentials.
Navigate to Project | Compute | Access & Security.
Click on Manage Rules for the
Chapter7_SecurityGroup1
security group to go to the security group management page:Click on +Add Rule to add a new rule. We will select the rule type HTTP in the Rule menu and CIDR as
0.0.0.0/0
to allow...