Obfuscates
Kubernetes

Toolbox | Quickly Add Ports to Firewall

This is specific to an Ubuntu server, but can be used on other with minor modifications. This way you can allow ports without completely turning off the firewalls.

Create a file call add_ports.sh. Add the following contents.

Then create a file called “ports_list.txt” in the same directory. This list of ports is common against most Kubernetes installations unless custom ports are specified during the install.

Give the script permissions to run on the local system.

Run the script and it should set all ports to open on the given node.