Name: puppet-windows_firewall
Owner: Vox Pupuli
Description: puppet module for configuring the windows firewall
Created: 2013-04-12 11:15:18.0
Updated: 2017-08-09 18:28:36.0
Pushed: 2018-01-04 08:37:55.0
Homepage: https://forge.puppet.com/puppet/windows_firewall
Size: 157
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a module that will manage the Microsoft Windows Firewall and it's exceptions.
The windows_firewall module will primarily manage the state of the windows firewall application on your windows system. Optionally it will also allow you to configure any exceptions that you need to have in place.
The windows_firewall resource allows you to manage the firewall service itself.
s { 'windows_firewall': ensure => 'stopped' }
Once the windows firewall is managed you may then want to start managing the rules and exceptions within it.
ows_firewall::exception { 'WINRM':
sure => present,
rection => 'in',
tion => 'Allow',
abled => 'yes',
otocol => 'TCP',
cal_port => '5985',
mote_port => 'any',
splay_name => 'Windows Remote Management HTTP-In',
scription => 'Inbound rule for Windows Remote Management via WS-Management. [TCP 5985]',
windows_firewall
Parameters within windows_firewall
:
ensure
Determines whether or not the service must be running and enabled. If not included, the module will assume that the windows firewall service should be running and enabled. Valid values are 'running' and 'stopped'.
windows_firewall::exception
Parameters within windows_firewall::exception
:
ensure
Determines whether or not the firewall exception is 'present' or 'absent'
direction
Sets the direction of the exception rule, either: 'in' or 'out'.
action
Sets the action type of the excepton, either: 'allow' or 'block'.
enabled
Determines whether the exception is enabled, either: 'yes' or 'no'. Defaults to 'yes'.
protocol
Sets the protocol to be included in the exception rule, either: 'TCP' or 'UDP'.
local_port
Defines the local port to be included in the exception for port-based exception rules.
remote_port
Defines the remote port to be included in the exception for port-based exception rules.
remote_ip
Specifies remote hosts that can use this rule.
program
Defines the full path to the program to be included in the exception for program-based exception rules
display_name
Sets the Display Name of the exception rule. Defaults to the title of the resource.
description
A description of the exception to apply.
allow_edge_traversal
Specifies that the traffic for this exception traverses an edge device
windows_firewall
: The main class of the module for
managing the state of the windows firewall.windows_firewall::exception
] Manages the configuration of firewall exceptionsThis module is tested on the following platforms:
It is tested with the OSS version of Puppet only.
Please read CONTRIBUTING.md for full details on contributing to this project.