第一、需要关闭firewalld
:
service firewalld stop
/systemctl stop firewalld
-> 深入了解firewalld
:https://www.cnblogs.com/moxiaoan/p/5683743.html
第二、清空iptables
配置:
# iptables -F
# iptables -X
# iptables -Z
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
-> 深入了解iptables
:https://www.centos.net.cn/archive/5514
第三、查看虚拟机ip地址:
ifconfig