12 lines
217 B
Ruby
12 lines
217 B
Ruby
#
|
|
# Cookbook Name:: kosmos-ipfs
|
|
# Recipe:: firewall_swarm
|
|
#
|
|
|
|
include_recipe 'firewall'
|
|
firewall_rule 'ipfs_swarm_p2p' do
|
|
port node['kosmos-ipfs']['nginx']['swarm_p2p_port']
|
|
protocol :tcp
|
|
command :allow
|
|
end
|