Example commands
The following are examples of commands for settings that are mandatory for firewall configuration:
-
Configure host network pod access to other pods:
$ sudo firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 -
Configure host network pod access to services backed by Host endpoints, such as the {product-title} API:
$ sudo firewall-cmd --permanent --zone=trusted --add-source=169.254.169.1