Iptables防火墙配置
来源:互联网 发布:最小的windows 编辑:程序博客网 时间:2024/06/10 01:12
Linux 配置防火墙操作实例(启、停、开、闭端口)
- iptables的存储位置 /etc/sysconfig/iptables
- 查询iptable的详细信息: [root@localhost ~]# iptables -L -n -v
- 查询防火墙状态: [root@localhost ~]# service iptables status
- 停止防火墙: [root@localhost ~]# service iptables stop
- 启动防火墙: [root@localhost ~]# service iptables start
- 重启防火墙: [root@localhost ~]# service iptables restart
- 永久关闭防火墙: [root@localhost ~]# chkconfig iptables off
- 永久关闭后启用: [root@localhost ~]# chkconfig iptables on
配置实例
1,查看iptable状态
3,通过vim 编辑/etc/sysconfig/iptables文件,复制一行
4,保持iptables文件,并执行[root@localhost ~]# service iptables restart <回车>
5,查看iptable状态,是否端口开放成功;
1 0
- iptables 配置防火墙
- iptables防火墙配置详解
- iptables 防火墙基本配置
- iptables防火墙配置详解
- Iptables 防火墙 配置
- redhat防火墙配置 iptables
- iptables防火墙配置详解
- Iptables防火墙配置
- 配置iptables防火墙
- Iptables防火墙配置详解
- CentOS配置iptables防火墙
- Centos 配置iptables防火墙
- Centos配置iptables防火墙
- Centos配置iptables防火墙
- Centos配置iptables防火墙
- Iptables防火墙配置
- Linux-iptables配置-防火墙配置
- Linux iptables 防火墙的配置
- 银行家算法
- ViewPager的翻页动画
- 在Domoticz中添加彩云天气python插件
- Java Cloneable接口与Serializable接口实现对象克隆和深度克隆
- 使用逻辑卷管理灵活存储
- Iptables防火墙配置
- ERROR ITMS-90023: "Missing required icon file.
- ftp文件共享服务
- 基于 Django1.10 文档的深入学习(20)—— Using the Django authentication system 之 login()
- 嵌入式应用编程经验之谈-局部变量造成的死机
- NGINX配置
- 脚本create_swap.sh
- Linux if判断字符串是否相等
- selinux对文件的控制