Skip to content

Reach your apps from outside your home

The address of each app is a public name, for example photos.basement-nuc.mesopod.app. The name answers with the private address of your machine. Anyone can look the name up. Only a device on your network can reach the address that the name points to.

Remote access is thus a question of reach, not of names. The app, its URL and its certificate do not change. You only have to be on your home network. Tailscale is the simplest way to do that, and it opens no port on your router.

1. Install Tailscale on the machine

curl -fsSL https://tailscale.com/install.sh | sh

2. Advertise your home network

Find the subnet of your machine. ip -4 addr shows an address, for example 192.168.1.40/24. The subnet of that address is 192.168.1.0/24. Then run:

sudo tailscale up --advertise-routes=192.168.1.0/24

Tailscale shows a link. Open the link to authenticate the machine. If Tailscale warns that IP forwarding is off, run the two sysctl lines that it gives you. Then run the command again.

3. Approve the route

In the Tailscale admin console, open the machine. Click Edit route settings and approve the subnet that you advertised. A route does nothing until you approve it.

4. Accept routes on your other devices

  • iOS, macOS, Android: the device uses subnet routes automatically.
  • Linux, Windows: run tailscale up --accept-routes.

Now your laptop resolves photos.basement-nuc.mesopod.app to 192.168.1.40 from any place, as it does at home. Tailscale carries the packets to your home network. The certificate validates as usual.

DNS away from home

Routes are half of the solution. The name must also resolve to that private address where you are. Two things can stop that.

Your current resolver refuses private answers. A hotel, an office network or a router with rebind protection returns nothing for a public name that points into a LAN. The problem and the solution are the same as in the install guide's rebind section. Check what you got:

dig +short photos.basement-nuc.mesopod.app

An empty answer means that the resolver dropped the record. It does not mean that the record is missing.

Tailscale overrides your DNS. If names resolve at home but stop when Tailscale is up, open DNS in the Tailscale admin console. Turn off Override local DNS, or add a split DNS entry for mesopod.app that points to a resolver that passes private answers through. The address of your home router works well, because the subnet route already reaches it.

If tailscale serve already uses port 443

tailscale serve can hold port 443 on the Tailscale address of the machine. If your devices open apps by that address, Mesopod and tailscale serve want the same port. The setup decides what you must do.

  • Subnet routes to the address on your network. This is the setup in steps 1 to 4. Your devices open apps at the address of the machine on your network, for example 192.168.1.40. Port 443 there is free. Keep 443. If the install asks about port 443 on the Tailscale address, answer 2.
  • The DNS target is the Tailscale address. The names of your apps point to the 100.x address of the machine. Then tailscale serve and Mesopod want the same socket. Serve the apps of the cluster on another web port, for example 8443. App addresses then end in :8443.

To choose the port, answer 3 to the question of the install, or add --web-port 8443 to the install command. To change the port of a cluster that exists, click Change at the web port line in Addresses on the cluster's page. Serve apps on another web port gives the steps and the effects of a move.

What this does not do

  • It does not make your apps public. That is the intent.
  • It does not change an app URL. A link that you send to yourself still works at home.
  • It does not affect Mesopod's own connection. The outpost dials out over HTTPS by itself, with or without Tailscale.