What is the correct method for adding a persistent rule to iptables on an OpenShift 3.x Master or Node?

Solution Verified - Updated -

Issue

  • The OpenShift-SDN adds iptables rules that are not meant to be persistent. How do I add a rule without using the iptables-save command?
  • What are the best steps to add a rule to the iptables chain OS_FIREWALL_ALLOW that OpenShift configures during installation?

Environment

  • OpenShift Container Platform 3.x

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