From 8f9be5b8d6edc2d0446afa370ec8186ce7640cb9 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 11 Aug 2020 23:22:40 -0500 Subject: [PATCH] Open firewall ports for new HTTPS services --- rootfs/standard/etc/nginx/sites-enabled/https_lndhub.conf | 2 +- rootfs/standard/usr/bin/mynode_firewall.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rootfs/standard/etc/nginx/sites-enabled/https_lndhub.conf b/rootfs/standard/etc/nginx/sites-enabled/https_lndhub.conf index ce0f4782..ce4e2c03 100644 --- a/rootfs/standard/etc/nginx/sites-enabled/https_lndhub.conf +++ b/rootfs/standard/etc/nginx/sites-enabled/https_lndhub.conf @@ -1,6 +1,6 @@ server { listen 3001 ssl; - server_name rtl; + server_name lndhub; include /etc/nginx/mynode/mynode_ssl_params.conf; include /etc/nginx/mynode/mynode_ssl_cert_key.conf; diff --git a/rootfs/standard/usr/bin/mynode_firewall.sh b/rootfs/standard/usr/bin/mynode_firewall.sh index ab216fc3..dd3c774c 100755 --- a/rootfs/standard/usr/bin/mynode_firewall.sh +++ b/rootfs/standard/usr/bin/mynode_firewall.sh @@ -31,8 +31,9 @@ ufw allow from 172.28.0.0/16 to any port 28334 comment 'allow Dojo zmqhashblock' ufw allow 8334 comment 'allow corsproxy for btc rpc' ufw allow 2222 comment 'allow WebSSH2' ufw allow 3000 comment 'allow LndHub' +ufw allow 3001 comment 'allow LndHub HTTPS' ufw allow 3002 comment 'allow BTC RPC Explorer' -#ufw allow 3004 comment 'allow LND Admin' +ufw allow 3003 comment 'allow BTC RPC Explorer HTTPS' ufw allow 3010 comment 'allow RTL' ufw allow 3011 comment 'allow RTL HTTPS' ufw allow 3020 comment 'allow Caravan'