码迷,mamicode.com
首页 > Web开发 > 详细

openstack-mitaka web添加防火墙(fwaas)

时间:2016-12-08 00:01:15      阅读:1277      评论:0      收藏:0      [点我收藏+]

标签:openstack fwaas   neutron fwaas   fwaas   

环境声明:

os centos7.2

openstack mitaka


Fwaas

  1. 安装fwaas

yum -y install openstack-neutron-fwaas

2.在neutron里添加fwaas服务

vim /etc/neutron/neutron.conf

[DEFAULT]
service_plugins = 
router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,firewall
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default


3.配置fwaas

vim /etc/neutron/fwaas_driver.ini

[DEFAULT]
[fwaas]
driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
enabled = True


4.在dashboard中启用

vim /etc/openstack-dashboard/local_settings

OPENSTACK_NEUTRON_NETWORK = {
‘enable_firewall‘: True,
}


5.重启各个服务

systemctl restart httpd.service memcached.service

systemctl restart neutron-server.service

systemctl restart neutron-l3-agent.service



本文出自 “RSLinux” 博客,请务必保留此出处http://readshlinux.blog.51cto.com/9322509/1880440

openstack-mitaka web添加防火墙(fwaas)

标签:openstack fwaas   neutron fwaas   fwaas   

原文地址:http://readshlinux.blog.51cto.com/9322509/1880440

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!