Created
November 22, 2021 21:34
-
-
Save ryanvgates/cbcb57676ae5f2b12cfcac7465bc3f51 to your computer and use it in GitHub Desktop.
Chef hardening_rule ip range gotcha code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hardening_rule "Open outbound port #{p} in firewall at #{node[:server][:ip_range]}" do | |
direction :out | |
protocol :udp | |
port p | |
destination "#{node[:server][:ip_range]}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment