This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# check if script is run as root | |
if [ "$EUID" -ne 0 ]; then | |
echo "Please run as root: sudo -i" | |
exit 1 | |
fi | |
if [[ "$1" == "clear" && ! -z $2 ]]; then | |
echo "Deleting $2 files..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start9 access using a VPS and Tailscale | |
This guide is a combination of articles from BTCPayServer Docs and Tailscale KBs. | |
They did a great job, so most of what you see here are unaltered parts of the | |
pages listed in the [sources](#sources) section. | |
This guide describes how to use a VPS and Tailscale to connect to Core Lightning on | |
your Start9 from Zeus. You can also expose and connect to other Start9 services | |
as described in the end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Warn and prompt | |
read -p "Note, this script is reckless! You should not be exposing your Start9 the | |
Internet like this. This will allow Cloudflare to read all processed data. | |
Do you really want to continue?? [Y/N]" -n 1 -r | |
if [[ $REPLY =~ ^[Yy]$ ]]; then | |
# Variables | |
TUNNEL_NAME=start9 |