diff --git a/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb b/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb new file mode 100644 index 0000000..6b5c459 --- /dev/null +++ b/site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb @@ -0,0 +1,34 @@ +# +# 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