Update firewall_rule resource
Updated cookbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user