码迷,mamicode.com
首页 > 其他好文 > 详细

Redhat7查询关闭防火墙方式

时间:2018-07-11 16:36:33      阅读:715      评论:0      收藏:0      [点我收藏+]

标签:min   nts   永久   mon   cal   for   查询   get   beyond   

1----临时状态查看:
[root@gbase-test1 opt]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-07-11 15:44:01 CST; 13min ago
Docs: man:firewalld(1)
Main PID: 845 (firewalld)
CGroup: /system.slice/firewalld.service
└─845 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Jul 11 15:43:58 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
Jul 11 15:44:01 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: ICMP type ‘beyond-scope‘ is not supported by the kernel for ipv6.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: beyond-scope: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: ICMP type ‘failed-policy‘ is not supported by the kernel for ipv6.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: failed-policy: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: ICMP type ‘reject-route‘ is not supported by the kernel for ipv6.
Jul 11 15:44:03 localhost.localdomain firewalld[845]: WARNING: reject-route: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
2-----永久状态查看:
[root@gbase-test1 opt]# systemctl list-unit-files | grep firewalld
firewalld.service enabled
3-----临时重启:
[root@gbase-test1 opt]# systemctl stop firewalld
[root@gbase-test1 opt]# systemctl start firewalld
[root@gbase-test1 opt]# systemctl restart firewalld
4-----永久关闭或开启:
[root@gbase-test1 opt]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

Redhat7查询关闭防火墙方式

标签:min   nts   永久   mon   cal   for   查询   get   beyond   

原文地址:http://blog.51cto.com/12942223/2140476

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!