Add missing recipe, used to set up andromeda's firewall rules
This commit is contained in:
parent
af6fe37e0b
commit
7165bf49c6
34
site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb
Normal file
34
site-cookbooks/kosmos-base/recipes/andromeda_firewall.rb
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user