iptables-restore: unable to initialize table 'filter'

Solution Unverified - Updated -

Issue

When trying to use iptables-restore an error may be seen if there are special characters or custom return strings:

# iptables-restore  < iptables.old
iptables-restore v1.4.21: iptables-restore: unable to initialize table 'filter

Error occurred at line: 2

Environment

  • RHV-H
  • RHEL 7

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