Skip to content

Instantly share code, notes, and snippets.

@sudocarlos
sudocarlos / create_nginx_service.sh
Created May 30, 2024 20:41
Create nginx proxy service
#!/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..."
# 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.
@sudocarlos
sudocarlos / cloudflare_tunnels.sh
Last active April 30, 2024 03:28
Download, configure and run Cloudflare tunnels for Start9 services
#!/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