首页 > 代码库 > openstack-mitaka web添加防火墙(fwaas)
openstack-mitaka web添加防火墙(fwaas)
环境声明:
os centos7.2
openstack mitaka
Fwaas
安装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)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。