Why does iptables throw the error "Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`)" in RHEL6?

Solution Verified - Updated -

Issue

  • Executing the following iptable rule gives the error shown below:
# iptables -A INPUT -d ! 10.65.223.247 -j REJECT
Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).

Environment

  • Red Hat Enterprise Linux 6.4

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