Last active
June 10, 2023 04:49
-
-
Save kzltp/6c7ad258d4b915f94321d4b495cb832d to your computer and use it in GitHub Desktop.
docker iptables bad rule (does a matching rule exist in that chain )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -D FORWARD -i docker0 -o docker0 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?). | |
| 1-) The firewalld application is updated. | |
| yum update firewalld | |
| 2-) Firewalld rule is added. | |
| firewall-cmd --zone=public --permanent --add-masquerade | |
| 3-) And reload firewall | |
| firewall-cmd --complete-reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment