iptables rules saved in /etc/sysconfig/iptables are not applied at system boot in openshift

Solution Verified - Updated -

Issue

  • the iptables rules saved by iptables-save command in /etc/sysconfig/iptables are not re-applied after a node reboot. What is the right way to make a rule like:
    iptables --insert INPUT -p udp -m state --state NEW -m udp --dport 161 -j ACCEPTpermanent on a OCP node

Environment

  • Openshift Container Platform
    • 3.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