chef/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb
2019-03-15 12:30:56 +01:00

42 lines
656 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]
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