firewallmanager
This module is a wrapper to make it more confortable to define firewall rules on hiera or block definitions
Version information
released Apr 9th 2024
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.7.0 < 9.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'ffquintella-firewallmanager', '1.2.2'
Learn more about managing modules with a PuppetfileDocumentation
ffquintella/firewallmanager — version 1.2.2 Apr 9th 2024
firewallmanager
Table of Contents
- Description
- Setup - The basics of getting started with firewallmanager
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
This module allows you to handle firewall rules using hiera declarations
Setup
Beginning with firewallmanager
Basically all you need to start using it is to include the firewall manager class
include 'firewallmanager'
Usage
Basically you will define the open ports you need on hiera files like this
Usual example
frwRule::ports:
'10058':
'tcp': 'allow'
'54663':
'tcp': 'allow'
'udp': 'allow'
'54664':
'tcp': 'allow'
'54953':
'tcp': 'allow'
A more advanced rule set is also supported
frwRule::rules:
-
port: '8080'
protocol: 'tcp'
action: 'accept'
source: '10.252.7.0'
sourcemask: '24'
destination: '0.0.0.0'
destinationmask: '0'
-
port: '80'
protocol: 'tcp'
action: 'accept'
source: '10.252.7.0'
sourcemask: '24'
destination: '0.0.0.0'
destinationmask: '0'
Limitations
This is only tested on RedHat environments
Development
Please try to keep your code tested and well documented.
Dependencies
- puppetlabs/stdlib (>= 4.2.0 <10.0.0)
- puppetlabs/firewall (>= 1.11.0 <9.0.0)