Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. System Security > Firewall Rules Using iptables

Firewall Rules Using iptables

Most people think that having a firewall at the edge of their network will protect them from everything. This notion couldn’t be more wrong, but having a host-based firewall helps increase your system’s and network’s security. By default, Red Hat comes with a built-in firewall called iptables, which is enabled by default as well. Managing the firewall is essential because many services depend on being able to interact with the outside world or the rest of your network. Because the firewall is set up by default, you don’t need to install it, but you should verify that the package is installed anyway.

Step 1.
Verify the installation:

# rpm -qa | grep iptables
iptables-ipv6-1.4.7-3.el6.x86_64
iptables-1.4.7-3.el6.x86_64

Step 2.
You should also take a moment to verify that iptables is set to start when the system boots up:

# chkconfig iptables --list
iptables         0:off    1:off   2:on   3:on   4:on   5:on   6:off


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial