centos7 关闭防火墙
来源:互联网 发布:linux下如何查找文件 编辑:程序博客网 时间:2024/06/06 08:30
在centos7上面关闭防火墙,除了要关闭iptables,还要关闭firewalld
[root@localhost share]# service iptables status
Redirecting to /bin/systemctl status iptables.serviceiptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@localhost share]# service ip6tables status
Redirecting to /bin/systemctl status ip6tables.service
ip6tables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@localhost share]# systemctl list-unit-files |grep ip
ipsec.service disabled
multipathd.service enabled
[root@localhost share]# service firewalld status
Redirecting to /bin/systemctl status firewalld.service
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since 四 2014-12-25 14:13:05 CST; 1h 51min ago
Main PID: 807 (firewalld)
CGroup: /system.slice/firewalld.service
└─807 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
[root@localhost share]# service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service
[root@localhost share]# systemctl status firewalld.service
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since 四 2014-12-25 16:04:56 CST; 15s ago
Process: 807 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 807 (code=exited, status=0/SUCCESS)
12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
12月 25 16:04:55 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
12月 25 16:04:56 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.
阅读全文
0 0
- centos7如何关闭防火墙!
- centos7 关闭防火墙
- centos7 关闭防火墙
- centos7关闭防火墙
- CentOS7.0 关闭防火墙
- CentOS7 关闭防火墙
- CentOS7关闭防火墙
- centos7关闭防火墙
- 关闭Centos7的防火墙
- Centos7 关闭防火墙
- Centos7 关闭防火墙设置
- Centos7 关闭防火墙
- centos7 关闭防火墙
- centos7关闭防火墙
- centos7关闭防火墙
- centOS7如何关闭防火墙
- Centos7 关闭防火墙
- CentOS7.0 关闭防火墙
- 《java基础入门》课后习题答案_传智播客版
- 查找tomcat程序中某个进程占用CPU高的方法
- maven学习笔记1--简介
- 2017.11.29 python学习笔记
- 如何让idea文件夹目录结构清晰一些
- centos7 关闭防火墙
- 2017hdu新生赛 1002身份证验证
- 关于共识算法
- 链表、队列、栈的相关应用(一)链表的回文结构
- 数据库语句记录
- [bzoj 2190--SDOI2008]仪仗队
- 中文分词
- spring -squartz 定时任务
- CVPR2017有哪些值得读的Image Caption论文?