Update firewall_rule resource

Updated cookbook
This commit is contained in:
Greg Karékinian
2016-02-19 18:11:43 +01:00
parent 0c98e1c51a
commit 255ff036c3
4 changed files with 6 additions and 8 deletions

View File

@@ -8,18 +8,16 @@
#
# enable default firewall
firewall 'ufw' do
action :enable
end
firewall 'default'
firewall_rule 'ssh' do
port 22
protocol :tcp
action :allow
command :allow
end
firewall_rule 'mosh' do
port 60000..61000
protocol :udp
action :allow
command :allow
end