How do I use iptables in Red Hat Enterprise Linux?

Updated -

The first step in using iptables is to start the iptables service. This can be done with the command:

service iptables start

Warning: The ip6tables services should be turned off to use the iptables service with the following commands:

service ip6tables stop
 chkconfig ip6tables off

To make iptables start by default ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content