From 7165bf49c64b7ff35c99500ce2599e67fe7ed220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 7 Jun 2018 12:33:38 +0200 Subject: [PATCH] Add missing recipe, used to set up andromeda's firewall rules --- .../kosmos-base/recipes/andromeda_firewall.rb | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb 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