Fix LN nodes not being accessible from the outside #289

Merged
raucao merged 2 commits from bugfix/lnd_externalip into master 2021-01-23 11:07:38 +00:00
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 775ec691ef - Show all commits

View File

@ -92,3 +92,9 @@ systemd_unit 'lightningd.service' do
triggers_reload true
action [:create, :enable, :start]
end
firewall_rule 'lightningd' do
port [9735] # TODO use attribute
protocol :tcp
command :allow
end

View File

@ -89,3 +89,9 @@ systemd_unit 'lnd.service' do
triggers_reload true
action [:create, :enable, :start]
end
firewall_rule 'lnd' do
port [node['lnd']['port']]
protocol :tcp
command :allow
end