lib/Utils/Firewalld.pm

Utils::Firewalld

Utils::Firewalld - Library for firewalld related functionality

add_port_to_zone

add_port_to_zone({ port => $port, zone => $zone });

Adds tcp $port to $zone of permanent configuration. Port can be a single port number or a range of ports e.g. 3000-5000