Analysis of firewall rules in Openstack

Source: Internet
Author: User

Analysis of firewall rules in Openstack

Last week, I spent a few days studying the Openstack Security Group firewall rules and summarized the results of last week.

1. Introduce my environment.

Operating System: RHEL6.4 + Openstack official Kernel

Openstack version: Havana

Network Mode: ML2 + Linuxbridge

Tenant Network: VLAN

Ii. Iptables Flow Direction

 INPUT neutron-linuxbri-INPUT neutron-linuxbri-o45d1d6e0-d neutron-linuxbri-s45d1d6e0-d neutron-linuxbri-sg-fallback OUTPUT neutron-filter-top neutron-linuxbri-local neutron-linuxbri-OUTPUT FORWORD neutron-filter-top neutron-linuxbri-local neutron-linuxbri-FORWARD neutron-linuxbri-sg-chain=>A A=>neutron-linuxbri-i45d1d6e0-d=>B A=>neutron-linuxbri-o45d1d6e0-d neutron-linuxbri-s45d1d6e0-d=>B B=>neutron-linuxbri-sg-fallback

 

This flow is too messy. I will organize it into an image in another day.

 

Here, only the flow of Layer 2 data packets is analyzed.

Iii. Summary

1. What actually works is:

neutron-linuxbri-i45d1d6e0-dneutron-linuxbri-o45d1d6e0-dneutron-linuxbri-s45d1d6e0-d

2, neutron-linuxbri-i45d1d6e0-d this is to enter the virtual machine flow control, according to the default security group of Openstack, the network of different tenants under the same network is not accessible.

3, neutron-linuxbri-s45d1d6e0-d this is to do the ip and mac binding function.

4, neutron-linuxbri-o45d1d6e0-d this is done out of virtual machine flow control, according to the default Openstack security group, all through.

5. The naming rules for these binchains are as follows: the first 16 of the L2Agent names used are-data flow [I/o/s]-the first 11 bits of the UUID port.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.