Add firewall rules for LND and c-lightning
This commit is contained in:
parent
6c6026958b
commit
775ec691ef
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue