关闭selinux和iptables:setenforce 0
iptables -Fiptables -t nat -Fsystemctl stop firewalldsystemctl disable firewalld
systemctl stop NetworkManagersystemctl disable NetworkManager