【转】Fedora 18/19及以上关闭防火墙

fedora17及以前的版本关闭防火墙用systemctl stop iptables.service即可,其他Linux版本用service stop iptables

fedora18以上用一个名叫firewalld的玩意,所以需要:

 

systemctl stop firewalld.service

有必要的话就

 

 

systemctl disable firewalld.service
 
难怪配置的samba不通,mount -v -t nfs也报   mount.nfs: mount(2): No route to host

 

 

 

参考:http://www.chesterproductions.net.nz/blogs/it/sysadmin/changing-back-to-iptables-in-fedora-18/616/

posted @ 2016-12-13 09:41  菠萝布丁  阅读(529)  评论(0编辑  收藏  举报