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

Solution Unverified - 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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.