Browse Source

Add ufw allow for REST API

#146
William O'Beirne 6 years ago
committed by GitHub
parent
commit
8988c9368e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      home.admin/90finishSetup.sh

4
home.admin/90finishSetup.sh

@ -60,6 +60,8 @@ echo "allow: lightning mainnet"
sudo ufw allow 9735 comment 'lightning mainnet' sudo ufw allow 9735 comment 'lightning mainnet'
echo "allow: lightning gRPC" echo "allow: lightning gRPC"
sudo ufw allow 10009 comment 'lightning gRPC' sudo ufw allow 10009 comment 'lightning gRPC'
echo "allow: lightning REST API"
sudo ufw allow 8080 comment 'lightning REST API'
echo "allow: trasmission" echo "allow: trasmission"
sudo ufw allow 51413 comment 'transmission' sudo ufw allow 51413 comment 'transmission'
echo "allow: local web admin" echo "allow: local web admin"
@ -91,4 +93,4 @@ echo "100" > /home/admin/.setup
clear clear
echo "Setup done. Rebooting now." echo "Setup done. Rebooting now."
sudo shutdown -r now sudo shutdown -r now

Loading…
Cancel
Save