diff --git a/docs/install.md b/docs/install.md index abd0499..4cae70a 100644 --- a/docs/install.md +++ b/docs/install.md @@ -44,7 +44,9 @@ active afterward, the installer continues with a warning so you can fix reboot p service state before relying on the server. If `smbd` is not active, the installer stops and points you to `systemctl status smbd` and `journalctl -u smbd --no-pager`. -After the installer finishes, open the printed Web UI URL and complete the setup wizard. +After the installer finishes, open one of the printed Web UI URLs and complete the setup wizard. +The installer always tries to print local IPv4 URLs. If Tailscale is already installed and +connected, it also prints Tailscale MagicDNS and Tailscale IP URLs. For step-by-step installation without the automated installer, use the [Manual Installation Guide](manual_install.md). diff --git a/docs/tailscale.md b/docs/tailscale.md new file mode 100644 index 0000000..952ca33 --- /dev/null +++ b/docs/tailscale.md @@ -0,0 +1,31 @@ +# Tailscale + +The Tailscale page shows how this server looks from Tailscale. + +It is a read-only page. SimpleSaferServer does not install Tailscale, log in to a +tailnet, change ACLs, or edit Tailscale settings. + +## What The Page Shows + +- **Connection**: whether the `tailscale` command reports a connected server +- **Host**: the server name reported by Tailscale +- **MagicDNS Names**: Tailscale DNS names such as `server.tailnet.ts.net` +- **Access URLs**: Web UI URLs using MagicDNS names and Tailscale IP addresses +- **Details**: the raw DNS names and Tailscale IP addresses found in + `tailscale status --json` + +The Web UI still listens on port `5000`, so Tailscale URLs use that same port. + +## When Nothing Shows Up + +If the page says Tailscale is not installed, install and configure Tailscale on +the server outside SimpleSaferServer. + +If Tailscale is installed but not connected, log in with the normal Tailscale +tools and then refresh the page. + +## Installer Output + +At the end of installation, the installer still prints local IPv4 Web UI URLs. +When Tailscale is already installed and connected, it also prints Tailscale +MagicDNS and Tailscale IP Web UI URLs. diff --git a/index.html b/index.html index 538ee2f..b0ca208 100644 --- a/index.html +++ b/index.html @@ -165,6 +165,7 @@
+ These URLs work only from devices that can reach this server through your Tailscale tailnet. + SimpleSaferServer reads this status but does not install, log in, or configure Tailscale. +
+ + {% if summary.access_urls %} +| URL | +Type | +
|---|---|
| {{ url }} | +MagicDNS | +
| {{ url }} | +Tailscale IP | +
+ Install Tailscale and connect this server to your tailnet, then refresh this page. +
+| DNS names | +{{ summary.dns_names | join(', ') if summary.dns_names else '—' }} | +
|---|---|
| Tailscale IP addresses | +{{ summary.ips | join(', ') if summary.ips else '—' }} | +
| Managed by | +the tailscale command line tool and Tailscale system service |
+