KOSI Plugin FirewallD Version 1.4.0

Required Plugins

  • firewallD


With the firewall Plugin you can manage your firewall. You can either open/close ports or disable/enable the firewall. Additionally it is possible to gather information about the current firewall status. Currently 2 types of firewall are supported:

Documentation of Plugin firewallD
Documentation of Plugin IPTables


Key Description
action Mandatory Similiar to the service Plugin you can enable and disable the specified firewall as well open and close ports.
ports Mandatory If you want to open or close any ports the key ports which requires a list ("ports" or "ports-range"/protocol) is mandatory. Any ports like in the schema above are valid.
getFirewallStatus Mandatory The status of the the firewall will be stored in the value of this key. There are two status possible: "running" / "not running"

If firewalld and iptables are running, firewalld will be chosen


languageversion = "0.1.0";
apiversion = "kubernative/kubeops/kosi/user/v3";
name = "kosi-example-packagev3";
description = "kosi-example-package";
version = "0.1.0";
docs = "docs.tgz";
logo = "logo.png";

files =

containers =
    example=["", "nginx", "latest"];

    firewalld(action='"close / open / disable"';ports='"["5555/tcp","6666/tcp","8888-9999/udp"]"';getFirewallStatus='"status"');