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