<p>firewalld command alternative of <code>iptables -P FORWARD ACCEPT</code>
I have to run <code>iptables -P FORWARD ACCEPT</code> in order to run kubernetes cluster and communicate from pods using the service name.</p>
<p>Problem is that I have k8s cluster running on centos7 and using firewalld instead of iptables and that is default in cenots, without iptables service running i can't save rule <code>iptables -P FORWARD ACCEPT</code> and that take effect after  reboot, if can get firwalld alternative of <code>iptables -P FORWARD ACCEPT</code> then I can persist it easily on reboot.</p>

Anil Singh
<p>sudo firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -d 0.0.0.0/0 -j ACCEPT
sudo firewall-cmd --reload</p>
