chef/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb

35 lines
541 B
Ruby

#
# Cookbook Name:: kosmos-base
# Recipe:: andromeda_firewall
#
# Copyright 2018, Kosmos
#
# All rights reserved - Do Not Redistribute
#
# Temporary extra rules for Andromeda
firewall_rule 'ejabberd' do
port [5222, 5269, 5280]
protocol :tcp
command :allow
end
firewall_rule 'bitcoind' do
port [8333, 8334, 8335]
protocol :tcp
command :allow
end
firewall_rule 'lightning' do
port [9735, 9736]
protocol :tcp
command :allow
end
firewall_rule 'ltcd' do
port 9333
protocol :tcp
command :allow
end