mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02:00
Add TOR to Apps
This commit is contained in:
parent
96e328f6dd
commit
5dffb13d28
@ -350,6 +350,21 @@ EOF
|
||||
# ACTIVATE LND OVER TOR (function call)
|
||||
activateLndOverTOR
|
||||
|
||||
# ACTIVATE APPS OVER TOR
|
||||
source /mnt/hdd/raspiblitz.conf 2>/dev/null
|
||||
if [ "${BTCRPCexplorer}" = "on" ]; then
|
||||
/home/admin/config.scripts/internet.hiddenservice.sh btc-rpc-explorer 80 3002
|
||||
fi
|
||||
if [ "${rtlWebinterface}" = "on" ]; then
|
||||
/home/admin/config.scripts/internet.hiddenservice.sh RTL 80 3000
|
||||
fi
|
||||
if [ "${BTCPayServer}" = "on" ]; then
|
||||
/home/admin/config.scripts/internet.hiddenservice.sh btcpay 80 23000
|
||||
fi
|
||||
if [ "${ElectRS}" = "on" ]; then
|
||||
/home/admin/config.scripts/internet.hiddenservice.sh electrs 50002 50002 50001 50001
|
||||
fi
|
||||
|
||||
echo "OK - TOR is now ON"
|
||||
echo "needs reboot to activate new setting"
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user