Is it possible to use multiple files to configure iptables rules?

Solution Unverified - Updated -

Issue

  • Is it possible to use multiple files to configure iptables rules?
  • Can we split the /etc/sysconfig/iptables file into two and let the iptables script source the rules from two file?
  • The use-case is to have some rules that are constant for all systems, and have another which change per the service installed on the system.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

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