CalibReader / Support / Your server, away from home

Connect to your server away from home

When your library is on your own server at home, a NAS (Self-hosted) or calibre's Content Server, CalibReader reaches it over your home network. On mobile data or someone else's Wi-Fi it can't, until you connect Tailscale.

With Tailscale on that computer and on your iPhone, CalibReader reaches your server from anywhere, without opening anything up to the internet. Away from home, that means:

Books already on your iPhone always open, with or without Tailscale. On a NAS library with Download entire library, that's every book. See Storage and offline reading.
What you need: the free Tailscale app on your iPhone (or iPad) and on the computer or NAS that holds your library, both signed in to the same Tailscale account. That computer needs to be on and awake when you connect from afar.

1. Set up Tailscale

  1. On the computer that runs calibre, or on your NAS, install Tailscale from tailscale.com/download and sign in. It runs on Windows, Mac and Linux, and on most NAS systems, including Synology and QNAP.
  2. On your iPhone, install Tailscale from the App Store, sign in with the same account and turn it on.
  3. Find your computer's Tailscale name. In the Tailscale admin console, the Machines page shows each device's full name, like mypc.tail1234.ts.net. That name is the address you give CalibReader. (It comes from MagicDNS, which is on by default.)

2a. calibre Content Server

Reading straight from calibre's Content Server needs CalibReader 1.0.3 or later.

  1. In calibre on that computer, choose Connect/share › Start Content server. Note the port it shows; calibre's default is 8080.
  2. In CalibReader, tap ⋯ in the library, then the Sync source row, and choose calibre Content Server.
  3. Under Server address, enter the address you use at home, for example 192.168.1.20:8080 or mypc.local:8080.
  4. Under Away from home (optional), enter your computer's Tailscale name with the port, for example mypc.tail1234.ts.net:8080. If your Content Server asks for a user name and password, enter them too.

That's it. CalibReader tries your home address first, then the Tailscale one, by itself. There's no switch to flip when you leave the house.

Use the name, not the number. iPhone blocks plain http connections to Tailscale's 100.x.y.z numbers, so give CalibReader the name that ends in .ts.net (or an https address). A Tailscale name on its own also works as the Server address, at home and away, as long as Tailscale is on.

2b. Your NAS over SMB (Self-hosted)

  1. Tap ⋯ in the library, then the Sync source row, and choose Self-hosted.
  2. As the server address, enter your NAS's Tailscale name (for example nas.tail1234.ts.net) or its 100.x.y.z address, then your user name and password.
  3. Tap Connect & choose library and pick the folder that holds your library.

The Tailscale address works at home too, as long as Tailscale is on. More on Self-hosted libraries in Set up sync.

If it can't connect

Still stuck? See Troubleshooting, or tell us in the app: ⋯ → About CalibReader → Report a problem.

Privacy

CalibReader connects straight to your own computer through Tailscale, and Tailscale's connections are encrypted end to end. Your books and your reading never pass through a server of ours.