← All posts

Remote access to my home devices over Tailscale

By ·

I have a Raspberry Pi at home that never gets switched off. It draws about four watts, so leaving it running costs almost nothing. The desktop, the laptop and the phone come and go. What I wanted was for all of them to be able to reach each other from anywhere, without opening up my home network to make it happen, and without paying someone every month for the privilege.

Paying monthly to reach my own computer

The normal way to solve this is to install TeamViewer or AnyDesk and be finished in ten minutes. They are good products and they work.

The part I kept getting stuck on was the bill. Once you are past the free tier, the cheaper tools start somewhere around six dollars a month and the better known ones sit closer to twenty five and upwards, often billed a year at a time. The free tiers are for personal use and come with limits, and they have a habit of deciding that your usage looks commercial. Prices move around, so check them yourself rather than taking my word for it, but the shape is always the same: a recurring fee, with no end to it, for permission to reach a computer sitting in my own house. Every session also travels through the vendor's servers rather than mine.

RustDesk does the same job, it is open source, and the server side is something you can run yourself. So that is what the Pi runs.

A hosted service RustDesk on my own Pi
Monthly cost roughly $6 at the cheap end, $25 and up for the usual names none
Billing frequently a year at a time none
Free tier personal use only, with limits no tiers to sit inside
Who relays the session the vendor my Pi
Source code closed open
If the pricing changes pay it or move nothing changes

The part I didn't want to do

That still leaves the question of how I reach the Pi at all when I am not at home. Every guide says the same thing: forward a port on your router. It takes a couple of minutes, and it does work.

I still didn't want to do it. Once something inside my house is answering a public address, it gets found. Not by anyone who has any particular interest in me, either. Scanning the whole internet is cheap and it runs constantly. From that point on, the safety of everything behind my router depends on one service: how good its authentication is, how recently it was patched, whether it happens to be carrying a bug that nobody has announced yet. I wasn't comfortable with SSH or a remote desktop session being that service.

Forwarded port Tailscale
Listens on a public address yes no
Reachable by anyone on the internet my own devices
Found by scanners within hours nothing to find
What stands between you and it whatever that one service offers WireGuard, keyed per device
Router configuration a rule per service none

What I did instead

Tailscale builds a private network out of the devices I already own. Each one makes an outbound connection and joins a mesh, which means none of them has to sit there listening for strangers.

The Pi is what makes the rest of it work, because it is the only machine that is always on. Everything else hangs off it.

Phone, laptop — anywhere
        │
        │   Tailscale: WireGuard, authenticated per device
        ▼
Raspberry Pi — always on, ~4 W
        │
        ├── SSH
        ├── a Linux desktop in a browser tab
        ├── the RustDesk relay
        │
        └── LAN ──► Windows desktop
                    woken on demand, then RustDesk for the screen

Nothing in that diagram comes inward from the internet, which was the whole point of doing it this way.

What that gives me

I can SSH into the Pi from the laptop or the phone, the same way I would if I were sitting at home.

There is a Linux desktop on the Pi that runs inside a browser tab, and I end up using it more often than I expected to.

The Windows machine stays switched off until I want it. The Pi wakes it up, and RustDesk gives me the screen. Leaving a desktop idling all month costs real money, and waking it takes about half a minute.

The phone is the part that surprised me. Being able to fix something from a phone changes what you end up treating as urgent.

What it actually costs

Four watts, running all the time, comes to something like ₱35 a month at Meralco rates, and the Pi is doing several other jobs for that same money. There is no subscription attached to any of it. That was the point of building it this way.

The costs that do exist are not on a bill.

The Tailscale client has to actually be running, and that turns out to be easier to get wrong than it sounds. Mine quit on the laptop and never came back, because the thing that starts it only runs when I log in, and I had not logged in for days. From where I was sitting it looked exactly like a network problem, and I spent a while treating it as one.

The Pi is also a single point of failure now. If it goes down, nothing behind it is reachable, and the desktop cannot be woken at all. A hosted service would have stayed up through that, which is a fair part of what the monthly fee buys.

Neither of those has made me want to undo any of it. They are both worth knowing about before you build the same thing.