Fix IPFS node connectivity from the outside as well as the private network #442

Merged
raucao merged 4 commits from bugfix/ipfs_connectivity into master 2022-11-02 18:32:44 +00:00
Showing only changes of commit 90b62e3fc1 - Show all commits

View File

@@ -18,11 +18,10 @@ unless node.chef_environment == "development"
end end
firewall_rule 'ipfs_api' do firewall_rule 'ipfs_api' do
port 5001 port node['kosmos-ipfs']['api']['port']
source "10.1.1.0/24" source "10.1.1.0/24"
protocol :tcp protocol :tcp
command :allow command :allow
logging :connections
end end
firewall_rule 'ipfs_local_p2p_allow_out' do firewall_rule 'ipfs_local_p2p_allow_out' do
@@ -30,7 +29,6 @@ firewall_rule 'ipfs_local_p2p_allow_out' do
direction :out direction :out
protocol :none protocol :none
command :allow command :allow
logging :connections
end end
firewall_rule 'ipfs_local_p2p_deny_out' do firewall_rule 'ipfs_local_p2p_deny_out' do
@@ -38,5 +36,4 @@ firewall_rule 'ipfs_local_p2p_deny_out' do
direction :out direction :out
protocol :none protocol :none
command :deny command :deny
logging :connections
end end