Security Groups & Firewall Services

Security Groups & Firewall Services

Posted on Jan 13, 2020 (0)

Security Groups & Firewall Services


  • Configure Neutron to enable Firewall services.
  • Create a security Group dclessons-SG1 and add following rules to allow 80 services with source and destination any any via GUI
  • Create a security Group dclessons-SG2 and add following rules to allow 443 services with source and destination any any via CLI
  • Apply the security group dclessons-SG1 on dclessons-VM1
  • Create Firewall Rule dclessons-FW-RULE1 to allow TCP protocols for source any and destination network port 22.
  • Create Firewall policy dclessons-FW-Policy1 and call the above FW rule created.
  • Now Create the FW and apply the above policy created and verify rule on network nodes.


To configure the Firewall services on Neutron, modify the following file as per given below:

service_plugins = firewall
service_provider = FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default
driver =
enabled = True
[root@localhost ~(keystone_admin)]# sudo nano /etc/neutron/l3_agent.ini
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

To configure the Horizon dashboard for Firewall, open the /usr/share/openstack dashboard/openstack_dashboard/local/ file and set an enable_firewall option in the OPENSTACK_NEUTRON_NETWORK setting:

'enable_firewall' = True

restart neutron-server, neutron-l3-agent, and horizon for the changes to take effect.

Now to configure the Security group go to Project | Compute | Access & Security and In the Security Groups tab, click on + Create Security Group.

Fill in an appropriate security group Name and Description:

Now to add rules on SG click on SG you created and then click on manage rule and then ADD rules.

Now create another SG via CLI to open port 443.


    You are will be the first.


Please login here to comment.