Chinaunix首页 | 论坛 | 博客
  • 博客访问: 88046
  • 博文数量: 24
  • 博客积分: 193
  • 博客等级: 入伍新兵
  • 技术积分: 165
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-10 21:42
文章分类

全部博文(24)

文章存档

2013年(3)

2012年(21)

我的朋友

分类: 系统运维

2012-12-24 11:09:39

by  on OCTOBER 10, 2007 · · last updated at JUNE 28, 2012

Idon't want firewall because I only run one http (port 80) public service. How do I turn off or disable firewall permanently under RHEL / Fedora Linux / Red Hat Enterprise Linux and CentOS Linux?

iptables is administration tool / command for IPv4 packet filtering and NAT. You need to use the following tools:

[a] service is a command to run a System V init script. It is use to save / stop / start firewall service.

[b] chkconfig command is used to update and queries runlevel information for system service. It is a system tool for maintaining the /etc/rc*.d hierarchy. Use this tool to disable firewall service at boot time.

How Do I Disable Firewall?

First login as the root user.

Next enter the following three commands to disable firewall.
# service iptables save
# service iptables stop
# chkconfig iptables off

If you are using IPv6 firewall, enter:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off

阅读(1795) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~