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

Viewing and verifying the Firewall rules on the Network node


We created a Firewall and its policies and rules in the previous recipes. The Neutron reference implementation uses iptables to provide FWaaS. As discussed earlier, FWaaS policies are implemented at the Routers. Neutron uses the Network's namespace to implement the Routers. In this recipe, we will fnd out how the Firewall policies and rules are converted to the iptables configuration by Neutron.

Getting ready

For this recipe, you will need the following information:

  • An administrative user access to OpenStack

  • A root or equivalent sudo access to the Network node

How to do it…

The following steps will show you how to view the Firewall rules on the Network node:

  1. Using the appropriate credentials, SSH into the OpenStack node installed with the Neutron client packages.

  2. Source the shell RC file to initialize the environment variables required for the CLI commands.

  3. Use the CLI commands to list the Firewall, Firewall policy, Firewall rule, and Routers...