使用OpenStack命令创建keystone服务未成功,提示“Forbidden (HTTP 403)”。
防火墙阻止了访问。
添加端口后关闭防火墙,使用命令添加80端口。
iptables -I INPUT -p tcp --dport 80 -j ACCEPT firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reload systemctl stop firewalld.service systemctl disable firewalld.service