Skip to content

Instantly share code, notes, and snippets.

@ryanvgates
Created November 22, 2021 21:34
Show Gist options
  • Save ryanvgates/cbcb57676ae5f2b12cfcac7465bc3f51 to your computer and use it in GitHub Desktop.
Save ryanvgates/cbcb57676ae5f2b12cfcac7465bc3f51 to your computer and use it in GitHub Desktop.
Chef hardening_rule ip range gotcha code
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