Improve UPNP firewall rules

This commit is contained in:
Taylor Helsper 2021-02-14 11:58:14 -06:00
parent 9e87880e56
commit aca5806b40

View File

@ -16,6 +16,9 @@ ufw allow 22 comment 'allow SSH'
ufw allow 80 comment 'allow WWW'
ufw allow 443 comment 'allow Secure WWW'
ufw allow 1900 comment 'allow SSDP for UPnP discovery'
ufw allow from 10.0.0.0/8 port 1900 to any comment 'allow UPnP from router'
ufw allow from 192.168.0.0/16 port 1900 to any comment 'allow UPnP from router'
ufw allow from 172.16.0.0/12 port 1900 to any comment 'allow UPnP from router'
ufw allow 10009 comment 'allow Lightning gRPC'
ufw allow 10080 comment 'allow Lightning REST RPC'
ufw allow 9735 comment 'allow Lightning'