# The complete setup: Plex, WireGuard and Ferry

Three parts, each useful by itself: a Plex server that holds your films, a WireGuard tunnel that lets your phone reach it from anywhere, and Ferry, which passes a film from your phone to a TV. If you already have the first two, skip to part 3.

Plex and WireGuard are other people's projects with their own good manuals. This page gives the order of things and the settings that matter for this setup, and links to those manuals for the rest.

## What you need

- A computer or NAS at home that stays on, for Plex Media Server.
- A router you can change settings on, or a device at home that can run WireGuard.
- An Android phone, Android 10 or later.
- A Plex account. A free one is enough to run a server.

## Part 1: Plex Media Server at home

1. Install [Plex Media Server](https://www.plex.tv/media-server-downloads/) on the computer or NAS that holds your films.
2. Open it in a browser, sign in with your Plex account and add your libraries. Signing the server in matters: Plex then gives it a certificate, so apps can talk to it over HTTPS.
3. Give the server a **fixed address** on your home network. In your router, look for a DHCP reservation and reserve the address it has now, for example `192.168.1.10`. Write it down.
4. Under **Settings > Network**, leave **Secure connections** on **Preferred**, the default.
5. Under **Settings > Remote Access**, you can leave Remote Access **off**. This setup does not use it.

Check: on your home Wi-Fi, `http://192.168.1.10:32400/web` (with your own address) opens Plex in a browser.

## Part 2: a WireGuard tunnel to your home

[WireGuard](https://www.wireguard.com/) is a VPN: it makes your phone part of your home network over an encrypted connection. You need a WireGuard server at home and the WireGuard app on your phone.

1. **Pick where the server runs.** Many routers have WireGuard built in: look under VPN in the router's settings. Otherwise a NAS or a Raspberry Pi can run it.
2. **Create the server.** It makes a key pair and picks a small range for tunnel addresses, such as `10.6.0.0/24`.
3. **Forward one UDP port** on your router to the WireGuard server, unless the router is the server. WireGuard's usual port is 51820. This is the only port this setup opens, and it answers only to devices that hold a key you made.
4. **Give your home a name.** If your internet address changes now and then, set up dynamic DNS (most routers offer it) so the phone can always find home.
5. **Add your phone.** Create a peer for it on the server. Install the WireGuard app from Google Play and scan the QR code the server shows.

Check: turn Wi-Fi off on the phone, turn the tunnel on, and open `http://192.168.1.10:32400/web` in the phone's browser. If Plex opens over mobile data, the tunnel works.

> If your provider gives you no public IPv4 address (often called CGNAT), a port forward cannot work. Ask your provider for a public address, or look at a service built for that case. WireGuard at home needs to be reachable.

## A Plex-only WireGuard profile

A normal profile routes your whole home range through the tunnel, for example `192.168.1.0/24`. Many home routers use that same range. At a friend's house with such a router, your phone would send traffic meant for their TV into the tunnel.

A second profile on the phone that routes only your Plex server avoids this. Nothing changes at home.

1. In the WireGuard app, import your tunnel a second time (the same QR code or file) and name it `home-plex-only`.
2. Edit it. Under **Interface > DNS servers**, note any address listed, and leave the field as it is.
3. Under **Peer > Allowed IPs**, replace everything with your Plex server's address and each DNS address you noted, each ending in `/32`. For example: `192.168.1.10/32, 10.6.0.1/32`.
4. Save. Use this profile whenever you are away from home. Only one tunnel can be on at a time.

## Part 3: Ferry on your phone

Do this once, at home, on your own Wi-Fi.

1. Install Ferry from Google Play and open it.
2. On the **Connect your Plex** card, open **More ways** and enter your server's address, for example `http://192.168.1.10:32400`, and your Plex token.
3. To find the token: in Plex in a browser, open any film, choose **Get Info** from its menu, then **View XML**. The address of the page that opens contains `X-Plex-Token=`. The token is the text after the `=`, up to the next `&`.
4. Tap **Save**. Ferry tries the address and the token, and opens your library when they work.

Treat the token like a password. It stays on your phone: the TV never gets it.

No Plex yet, or just curious? Ferry opens without a server too. The built-in sample clip, or a photo from your phone, plays on any screen it finds.

## At a friend's place

1. Join their Wi-Fi: the same network their TV or Chromecast is on.
2. Turn on WireGuard, the `home-plex-only` profile. The dot at the top of Ferry turns lime once your Plex server answers.
3. Tap **Plays on** and pick their TV. Chromecasts and smart TVs on the Wi-Fi show up by name.
4. Search or scroll, tap a title, tap **Play**.
5. Done watching? Tap **Stop**. The link the TV used is dead from that moment.

## When something does not work

- **The dot stays red.** Your phone cannot reach Plex. Is WireGuard on? Does the tunnel work on mobile data?
- **The TV is not in the list.** It must be on, not in standby, and on the same Wi-Fi as your phone. Guest networks often keep devices apart: try your phone's hotspot instead.
- **No TV that listens at all.** Choose **A browser** under Plays on, and open the link or scan the QR code on a laptop, a tablet or the TV's own browser.
- **No password for their Wi-Fi.** Turn on your hotspot and put the TV on it. The film then comes over mobile data.
- **Their Wi-Fi uses your home range.** Use the Plex-only profile from above.

Still stuck? Ferry has a Help page under Settings, and we answer mail at info@lans.cloud.

Last updated 2026-12-01. Ferry is made by Lans IT: https://ferry.lans.cloud/
