salt.states.win_firewall
State for configuring Windows Firewall
-
salt.states.win_firewall.add_rule(name, localport, protocol='tcp', action='allow', dir='in')
Add a new firewall rule (Windows only)
-
salt.states.win_firewall.disabled(name)
Disable all the firewall profiles (Windows only)