Tailscale (tailscaled.service)
Tailscale provides remote access with no ports opened on the router.
| Device | Tailnet IP | OS |
|---|---|---|
<HOSTNAME> | <TAILSCALE_IP> | Linux (this server) |
<MAC_DEVICE> | 100.x.x.x | macOS |
<PHONE_DEVICE> | 100.x.x.x | iOS |
What it’s used for
- MagicDNS: the server is reachable by its hostname from any tailnet device.
- SSH:
ssh -p <SSH_PORT> <USER>@<HOSTNAME>works from anywhere. UFW allows all traffic ontailscale0, see 04 - Firewall (UFW). - Notes site:
http://<HOSTNAME>:<NOTES_PORT> - Tailscale Serve: tailnet-only HTTPS with an automatic certificate:
https://<HOSTNAME>.<TAILNET_DOMAIN> (tailnet only) └── / → proxy http://127.0.0.1:<SONG_PORT> (song-rating)
Commands
tailscale status
sudo tailscale serve --bg <SONG_PORT> # expose localhost port over tailnet HTTPS
tailscale serve status
sudo tailscale serve reset # remove all serve configNote
A Cloudflare Tunnel for public access was considered but not set up. Everything stays private to the tailnet.
Back: 00 - Overview