linux防火墙设置
来源:互联网 发布:微博数据采集器 编辑:程序博客网 时间:2024/05/22 13:29
存在以下两种方式:
一、service方式
列表内容
查看防火墙状态:
[root@centos6 ~]# service iptables status
iptables:未运行防火墙。
开启防火墙:
[root@centos6 ~]# service iptables start
关闭防火墙:
[root@centos6 ~]# service iptables stop
二、iptables方式
先进入init.d目录,命令如下:
[root@centos6 ~]# cd /etc/init.d/
[root@centos6 init.d]#
然后
查看防火墙状态:
[root@centos6 init.d]# /etc/init.d/iptables status
暂时关闭防火墙:
[root@centos6 init.d]# /etc/init.d/iptables stop
重启iptables:
[root@centos6 init.d]# /etc/init.d/iptables restart
阅读全文
0 0
- Linux防火墙设置
- linux 防火墙 设置
- Linux 防火墙设置方法
- Linux Centos防火墙设置
- Linux 防火墙设置
- LINUX服务器防火墙设置
- linux防火墙设置
- linux 防火墙设置
- Linux防火墙设置
- Linux 防火墙端口设置
- Linux防火墙设置
- Linux防火墙设置
- Linux 防火墙端口设置
- linux防火墙设置
- Linux防火墙设置
- Linux防火墙的设置
- Linux防火墙设置
- Linux防火墙设置
- MySQL数据库(一)_建立开启数据库_基本规范和方法_约束_子查询
- HTML实现滚动条
- ISE中map过不了,报错slice资源不够
- java高并发同步问题
- (1)shiro的简介
- linux防火墙设置
- 牛客网javascript编程的输入输出
- 安卓仿微信眼睛下拉刷新,上拉加载
- centos mysql升级
- HDU 6208 The Dominator of Strings 读入挂+kmp / AC自动机
- Linux Shell脚本编程--cut命令
- python 变量类型转换
- web页面视频连接
- Python 面向对象的基本使用