Greg Karékinian 255ff036c3 Update firewall_rule resource
Updated cookbook
2016-02-19 18:11:43 +01:00

24 lines
336 B
Ruby

#
# Cookbook Name:: kosmos-base
# Recipe:: firewall
#
# Copyright 2015, Kosmos
#
# All rights reserved - Do Not Redistribute
#
# enable default firewall
firewall 'default'
firewall_rule 'ssh' do
port 22
protocol :tcp
command :allow
end
firewall_rule 'mosh' do
port 60000..61000
protocol :udp
command :allow
end