cosmo

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

没有到主机的路由这种问题大部分情况是由机器的防火墙没有关闭

Ubuntu

  查看防火墙状态

ufw status

  关闭防火墙

ufw disable

centos6

  查看防火墙状态

service iptables status

  关闭防火墙

chkconfig iptables off 

centos7

  查看防火墙状态

firewall-cmd --state

  关闭防火墙

systemctl stop firewalld.service

 

posted on 2018-05-14 16:53  【cosmo】  阅读(13397)  评论(0编辑  收藏  举报