Repo for all of my homelab configurations
The whole homelab will be setup using TailScale.
To get Synology setup on TailScale with https:
- Install Tailscale from the Package Manager in the GUI
ssh stephenfroeber@srfaudio.rohu-shark.ts.net
tailscale cert srfaudio.rohu-shark.ts.net
sudo cp ~/srfaudio.rohu-shark.ts.net.crt /usr/syno/etc/certificate/system/default/cert.pem
sudo cp ~/srfaudio.rohu-shark.ts.net.key /usr/syno/etc/certificate/system/default/privkey.pem
- Reboot Synology
To get Tailscale to always run in HAOS:
curl -fsSL https://tailscale.com/install.sh | sh
(It will fail onrc-update
)sudo tailscaled &
sudo nano /usr/local/bin/start-tailscale.sh
and paste the following:
#!/bin/sh
/usr/sbin/tailscaled &
sleep 5
/usr/sbin/tailscale up --authkey <YOUR_AUTH_KEY>
sudo chmod +x /usr/local/bin/start-tailscale.sh
sudo crontab -e
and add@reboot /usr/local/bin/start-tailscale.sh
tailscale up
All files ending in .tpl must be run through the op inject
command first before they can be used.
Example:
op inject -i debian-docker-host-preseed.cfg.tpl -o debian-docker-host-preseed.cfg