Skip to content

Instantly share code, notes, and snippets.

@ryanvgates
Created November 22, 2021 21:42
Show Gist options
  • Save ryanvgates/2e78243dc01d2ce781ca9e94f78ca112 to your computer and use it in GitHub Desktop.
Save ryanvgates/2e78243dc01d2ce781ca9e94f78ca112 to your computer and use it in GitHub Desktop.
Chef hardening_rul ip range solution
hardening_rule "Open outbound port #{p} in firewall for Isilon at #{node[:server][:ip_range].gsub("/","-")}" 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