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
firewall_rule 'ipfs_api' do
port 5001
port node['kosmos-ipfs']['api']['port']
greg marked this conversation as resolved Outdated
Outdated
Review

Could use the new node['kosmos-ipfs']['api']['port'] attribute you created above instead of the hardcoded value

Could use the new `node['kosmos-ipfs']['api']['port']` attribute you created above instead of the hardcoded value
source "10.1.1.0/24"
protocol :tcp
command :allow
logging :connections
end
firewall_rule 'ipfs_local_p2p_allow_out' do
@ -30,7 +29,6 @@ firewall_rule 'ipfs_local_p2p_allow_out' do
direction :out
protocol :none
command :allow
logging :connections
end
firewall_rule 'ipfs_local_p2p_deny_out' do
@ -38,5 +36,4 @@ firewall_rule 'ipfs_local_p2p_deny_out' do
direction :out
protocol :none
command :deny
logging :connections
end