VMware桥接,设置访问公网且ssh可连接 Centos7 VMware Centos7 cd /etc/sysconfig/network-scripts vi ifcfg-ens33 新增HWADDR 后面的值从ifconfig中获取 ONBOOT改为yes systemctl restart network 重启 systemctl stop firewalld 关闭防火墙 systemctl disable firewalld 永久关闭防火墙 vim /etc/ssh/sshd_config 配置ssh