chef/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb
2019-02-28 17:19:06 +07:00

42 lines
662 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, 5443, 5444]
protocol :tcp
command :allow
end
firewall_rule 'bitcoind' do
port [8333, 8334, 8335]
protocol :tcp
command :allow
end
firewall_rule 'lnd' do
port [9736]
# port [9736, 8002]
protocol :tcp
command :allow
end
firewall_rule 'lightningd' do
port [9735]
protocol :tcp
command :allow
end
firewall_rule 'spark_wallet' do
port 8008
protocol :tcp
command :allow
end