'service iptables save' command is not working in RHEL7 while it worked on RHEL6. Is there any other method to save the current iptables rules?

Solution Unverified - Updated -


  • When I execute the service iptables save command on my RHEL7 node, it says the following :-
[root@rhel7]# service iptables save
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
  • I would like to save the current iptables rules to some file. Whats the easiest way?


  • Red Hat Enterprise Linux 7
  • iptables

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