Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Log in to Horizon with the appropriate credentials.

  2. Navigate to Project | Compute | Access & Security.

  3. Click on Manage Rules for the Chapter7_SecurityGroup1 security group to go to the security group management page:

  4. 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...