CentOS 防火墙设置
来源:互联网 发布:重生网络女主播txt 编辑:程序博客网 时间:2024/06/06 09:45
1、暂时开启、关闭防火墙
# service iptables start
# service iptables stop
2、永久开启、关闭防火墙
# chkconfig iptables on
# chkconfig iptables off
3、添加防火墙(移除端口)
4、移除防火墙(添加端口)
# vi /etc/sysconfig/iptables 打开配置文件加入如下语句:
# -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
# service iptables restart 重启防火墙,修改生效
0 0
- CentOS调整防火墙设置
- Linux Centos防火墙设置
- CentOS 5 防火墙设置
- Centos 防火墙设置
- Centos http 防火墙设置
- centos防火墙设置
- centos iptables防火墙设置
- CentOS 设置防火墙端口
- CentOS 防火墙设置
- centos 防火墙设置
- Centos防火墙设置
- centOS 防火墙详细设置
- centos iptables 防火墙设置
- CentOS 防火墙设置
- CentOS 7.0防火墙设置
- centos防火墙设置
- centos防火墙设置
- centos设置防火墙
- poj1014
- proc文件系统探索 之 根目录下的文件[二]
- timus 1067 Disk Tree【超时代码】
- hdu1846
- proc文件系统探索 之 根目录下的文件[三]
- CentOS 防火墙设置
- leetcode做题总结,题目Longest Substring Without Repeating Characters
- GoogleCpp风格指南 5) 其他特性_part1
- 【Pattern Recognition and Machine Learning】p10-11 Mathematical notations
- leetcode做题总结,题目Simplify Path 71
- HDU - 1021ACM
- hdu2143
- Struts2 result type(结果类型)
- Struts2中从一个action内部跳转到另一个action,怎么配置xml