From 8e2ad98a00137c7be863655f8b0cdec6b0cc01a1 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Mon, 17 Aug 2020 21:56:32 -0500 Subject: [PATCH] Add tor services for glances, netdata, webssh --- rootfs/standard/etc/tor/torrc | 3 +++ rootfs/standard/var/www/mynode/tor.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rootfs/standard/etc/tor/torrc b/rootfs/standard/etc/tor/torrc index cc64848f..b7d06367 100644 --- a/rootfs/standard/etc/tor/torrc +++ b/rootfs/standard/etc/tor/torrc @@ -218,6 +218,7 @@ HiddenServiceVersion 3 HiddenServicePort 80 127.0.0.1:80 HiddenServicePort 443 127.0.0.1:443 HiddenServicePort 2222 127.0.0.1:2222 +HiddenServicePort 2223 127.0.0.1:2223 HiddenServicePort 3000 127.0.0.1:3000 HiddenServicePort 3001 127.0.0.1:3001 HiddenServicePort 3002 127.0.0.1:3002 @@ -233,9 +234,11 @@ HiddenServicePort 5000 127.0.0.1:5000 HiddenServicePort 5001 127.0.0.1:5001 HiddenServicePort 8899 127.0.0.1:8899 HiddenServicePort 19999 127.0.0.1:19999 +HiddenServicePort 20000 127.0.0.1:20000 HiddenServicePort 25441 127.0.0.1:25441 HiddenServicePort 49392 127.0.0.1:49392 HiddenServicePort 61208 127.0.0.1:61208 +HiddenServicePort 61209 127.0.0.1:61209 # Hidden Service for myNode (BTC) HiddenServiceDir /var/lib/tor/mynode_btc/ diff --git a/rootfs/standard/var/www/mynode/tor.py b/rootfs/standard/var/www/mynode/tor.py index ad52777a..7738b702 100644 --- a/rootfs/standard/var/www/mynode/tor.py +++ b/rootfs/standard/var/www/mynode/tor.py @@ -33,6 +33,7 @@ def page_tor(): # Services v3_services = [] v3_services.append({"service": "myNode Web", "url": general_onion_url, "port": "80","guide":""}) + v3_services.append({"service": "WebSSH", "url": general_onion_url,"port": "2222 / 2223","guide":""}) v3_services.append({"service": "LND Hub", "url": general_onion_url,"port": "3000 / 3001","guide":""}) v3_services.append({"service": "BTC RPC Explorer", "url": general_onion_url,"port": "3002 / 3003","guide":""}) v3_services.append({"service": "Ride the Lightning", "url": general_onion_url,"port": "3010 / 3011","guide":""}) @@ -40,7 +41,9 @@ def page_tor(): v3_services.append({"service": "Thunderhub", "url": general_onion_url,"port": "3030 / 3031","guide":""}) v3_services.append({"service": "Mempool", "url": general_onion_url,"port": "4080 / 4081","guide":""}) v3_services.append({"service": "LNbits", "url": general_onion_url,"port": "5000 / 5001","guide":""}) + v3_services.append({"service": "Netdata", "url": general_onion_url,"port": "19999 / 20000","guide":""}) v3_services.append({"service": "Specter Desktop", "url": general_onion_url,"port": "25441","guide":""}) + v3_services.append({"service": "Glances", "url": general_onion_url,"port": "61208 / 61209","guide":""}) v3_services.append({"service": "BTCPay Server", "url": btcpay_onion_url,"port": "49392 / 49393","guide":""}) v3_services.append({"service": "Bitcoin API (REST)", "url": btc_onion_url,"port": "8332","guide":""}) v3_services.append({"service": "LND API (gRPC)", "url": lnd_onion_url,"port": "10009","guide":""})