Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Turn an Old Android Phone Into a File Vault With Tailscale

· 8 min read · Home Tech

In this article
  1. Why Use an Old Phone as a File Vault?
  2. What Is Tailscale and How Does It Work?
  3. Step-by-Step Setup: From Phone to File Vault
  4. Choosing the Right File Server App
  5. Common Problems and How to Fix Them
  6. Tailscale vs. Other Remote Access Methods
  7. Security and Safety Considerations
  8. Frequently Asked Questions

Yes, you can turn an old Android phone into a private file vault using Tailscale, and it works surprisingly well. By installing Tailscale on both the old phone and your other devices, you create an encrypted peer-to-peer network that lets you access files stored on the phone from anywhere, without exposing them to the public internet.

Why Use an Old Phone as a File Vault?

Old Android phones are often left in drawers after being replaced. Instead of recycling them or letting them collect dust, they can serve as a low-power, always-on file server. Their built-in battery provides an uninterruptible power supply during brief outages, and their small size makes them easy to hide or mount behind a desk. The main limitation is storage capacity and the lack of a wired network connection, but for personal documents, photos, and media, a 64GB or 128GB phone is often enough.

Using Tailscale rather than a traditional cloud service means your files never sit on a third-party server. The phone becomes the only storage location, and all transfers are encrypted end-to-end. This approach is especially appealing for people who want to avoid monthly subscription fees or who have privacy concerns about Google Drive, Dropbox, or similar services.

What Is Tailscale and How Does It Work?

Tailscale is a zero-configuration VPN that builds a secure mesh network between your devices. It uses WireGuard, a modern and fast VPN protocol, to create encrypted tunnels. Each device gets a unique IP address in a virtual network, and devices can talk to each other directly even if they are behind different routers or firewalls.

When you install Tailscale on your old phone and your laptop or desktop, they appear as if they are on the same local network, regardless of their physical location. This is achieved through a coordination server that helps devices discover each other, but the actual data flows directly between devices whenever possible. This design is called a mesh VPN, and it is what makes Tailscale faster and more reliable than traditional VPNs that route all traffic through a central server.

Step-by-Step Setup: From Phone to File Vault

Here is the general process to turn your old Android phone into a file vault with Tailscale. The exact menus may vary slightly depending on your Android version, but the core steps are the same.

  1. Prepare the phone: Charge it, connect it to Wi-Fi, and make sure it has a stable power source. Disable any automatic lock screen or set it to never sleep while charging, since you want the phone to stay awake and accessible.
  2. Install Tailscale: Download Tailscale from the Google Play Store on both the old phone and your other devices. Create a free account and sign in on each device. The free tier allows up to 100 devices, which is plenty for personal use.
  3. Enable file sharing: On the Android phone, you need a way to share its storage over the network. Options include using an app like Solid Explorer or a dedicated FTP server app. You can also use Android's built-in file sharing features if they are available on your version, but a dedicated app is often more reliable.
  4. Configure the file server app: In the app, set a shared folder (for example, the phone's internal storage or a specific folder like /storage/emulated/0/Shared). Set a username and password for access. Note the port number the app uses, usually 2222 for SFTP or 8080 for a web interface.
  5. Find the phone's Tailscale IP: Open the Tailscale app on the old phone and note its IP address, which looks like 100.x.x.x. This is the address you will use to connect from other devices.
  6. Connect from your other devices: On your laptop or desktop, open your file manager (like Windows Explorer or Nautilus) and connect to the phone's Tailscale IP using the protocol your server app uses. For example, you might type sftp://100.101.102.103:2222 or http://100.101.102.103:8080.
  7. Test and automate: Try uploading and downloading a file. If it works, you can set up the phone to automatically start the server app on boot and keep Tailscale running in the background.

Choosing the Right File Server App

The app you choose on the Android phone determines how you access your files. Here are the most common options and their trade-offs.

  • FTP/SFTP server: Apps like "FTP Server" or "Primitive FTPd" are lightweight and work with most desktop file managers. FTP is not encrypted, but when used over Tailscale, the connection is already encrypted by WireGuard, so it is safe. SFTP adds another layer of encryption but requires a more complex setup.
  • WebDAV server: WebDAV is a protocol that works well with Windows and macOS network drives. Apps like "WebDAV Server" let you mount the phone as a network drive, which feels like a local folder.
  • Syncthing: This is not a traditional file server but a synchronization tool. It runs on both the phone and your other devices, and it automatically syncs folders over the Tailscale network. This is ideal if you want files to be available offline on your laptop, not just streamed.
  • Simple HTTP server: Some apps serve files over a web browser interface. This is easy to use but less secure if you accidentally expose the port to the internet.

For most users, an SFTP server is the best balance of security and ease of use. It works with built-in file managers on Windows, macOS, and Linux, and it does not require additional client software.

Common Problems and How to Fix Them

Even with a straightforward setup, you may run into issues. Here are the most frequent problems and their solutions.

  • Phone goes to sleep: Android aggressively kills background apps. To prevent this, go to the phone's battery settings and set "Unrestricted" for both Tailscale and your file server app. Also disable any "battery optimization" for those apps.
  • Cannot connect from outside your home: If you are on the same Wi-Fi network, Tailscale usually works instantly. From outside, ensure that the phone's Tailscale is still running and that the phone has an internet connection. Sometimes the phone's Wi-Fi drops, so consider setting a static IP or using a smart plug to power-cycle it.
  • Slow transfer speeds: The bottleneck is often the phone's Wi-Fi antenna or the SD card. If you are using an external SD card, make sure it is a high-speed class (like A2 or U3). Also, try moving the phone closer to your router.
  • Port conflicts: If you already have a service running on port 22 or 8080, the server app may fail to start. Change the port in the app's settings to something like 2222 or 8081.
  • Authentication failures: Make sure you are using the correct username and password. Some apps use the Android device's username (like "root" or "sdcard") by default. Check the app's documentation.

Tailscale vs. Other Remote Access Methods

Tailscale is not the only way to access files on an old phone remotely. Here is how it compares to common alternatives.

  • Port forwarding: You could set up port forwarding on your router to expose the phone's FTP or HTTP server to the internet. This is risky because it exposes the phone to attacks from anyone who scans your IP. Tailscale avoids this entirely by keeping the phone invisible to the public internet.
  • Cloud services: Google Drive, Dropbox, and OneDrive are easy but require subscription fees for large storage. They also store your files on third-party servers, which some users dislike. A phone vault keeps everything under your control.
  • Other VPNs: Traditional VPNs like OpenVPN require you to set up a server, which is complex. Tailscale is much simpler because it handles the server side for you.
  • SSH tunneling: If you have a public server, you could tunnel SSH to your phone. This is more technical and still requires a public server, which costs money.

Tailscale's main advantage is its zero-configuration nature. You do not need to understand networking or manage certificates. The free tier is generous, and the performance is excellent for personal use.

Security and Safety Considerations

Using Tailscale adds a strong layer of security, but it is not a silver bullet. Here are important safety points.

  • Keep the phone updated: Old Android phones may not receive security updates. This means the operating system could have unpatched vulnerabilities. To mitigate this, use the phone only as a file vault and do not install unnecessary apps. Consider using a custom ROM like LineageOS if you are comfortable with that.
  • Use strong authentication: Set a strong password for the file server app. Do not use the default credentials. Also, enable two-factor authentication on your Tailscale account.
  • Encrypt the storage: If your phone supports full-disk encryption, enable it. This protects your files if the phone is stolen.
  • Monitor access: Tailscale has an admin console where you can see which devices are connected. Check it periodically to ensure no unknown devices have joined your network.
  • Backup your files: A phone is not a reliable backup device. Its storage can fail, or the phone could be lost. Use your vault as a primary storage location, but keep a separate backup of important files elsewhere.

Frequently Asked Questions

Can I use an old phone without a SIM card?

Yes, absolutely. The phone only needs Wi-Fi to connect to the internet. A SIM card is not required for Tailscale or file sharing. Just connect the phone to your home Wi-Fi network.

Will this work if the phone is turned off?

No, the phone must be powered on and connected to the internet for you to access your files. If you want to save power, you can set up a schedule to turn it on and off, but it will be inaccessible during off hours.

Is Tailscale free for this use?

Yes, Tailscale's free tier allows up to 100 devices and 3 users. This is more than enough for a personal file vault. There are paid plans for teams, but you do not need them for this project.

Can I access the files from my phone too?

Yes, you can install Tailscale on another Android or iOS device and use a file manager app that supports SFTP or WebDAV to browse the vault. The experience is slightly less seamless than on a desktop, but it works.

What if my old phone's battery swells or dies?

If the battery swells, stop using the phone immediately and remove the battery if possible. For a permanent setup, consider removing the battery and powering the phone directly from a USB cable, if your phone supports that. Otherwise, keep the phone plugged in and monitor the battery health.

Can I use this as a backup for my main computer?

Yes, you can use the phone as a backup target. Set up your file server app to accept writes, and then use backup software on your computer to copy files to the phone's storage. Just remember that the phone is a single point of failure, so keep a second backup elsewhere.