CentOS配置 iptables基本操作

CentOS 配置 iptables基本操作(启、停、开、闭端口):
防火墙基本操作命令:
查询防火墙状态:
# service iptables status
停止防火墙:
# service iptables stop
启动防火墙:
# service iptables start
重启防火墙:
# service iptables restart
永久关闭防火墙:
# chkconfig iptables off
永久关闭后启用:
# chkconfig iptables on

CentOS 配置 iptables基本操作配置ok

Be the first to comment

Leave a Reply

Your email address will not be published.


*