Bridges

Run a ForestVPN bridge on a computer at home

Use a home Linux computer, a Raspberry Pi or a Docker NAS as a bridge. How to check your home connection has its own public address.

Updated November 24, 2026

On this page (7)

Not yet verified on hardware. The steps follow what the app and the installer do. Nobody has yet followed them on every kind of home router.

A home computer can be a bridge if your home internet has its own public address and your router lets two ports through. Most routers do this by themselves; if yours does not, the app tells you.

  1. Check your home connection has a public address.
  2. Paste the setup line on the computer.
  3. Let the router open two ports.

What you get

A bridge that runs on a machine you already own: a Linux computer, a Raspberry Pi with the 64-bit Raspberry Pi OS, or a NAS or computer that runs Docker. It has the same states and the same limits as a bridge on a rented server.

Before you start

  • A machine that stays on. If it is asleep or off, the bridge shows as offline in the app.
  • A public address. Your home connection needs its own public internet address. Some providers share one address between many customers; this is often called CGNAT. A bridge cannot work behind it.
  • How to tell. Find your router's internet address in its status page, then search the web for "what is my IP". If the two are the same, you have your own public address. If the router's one starts with 100.64 up to 100.127, or the two differ, the address is shared. The app also checks for you and says bridge.shared_address in words: Can't be reached: shared internet address.
  • The 32-bit Raspberry Pi OS is not supported by the installer. Use Docker.
  • Time. About 10 minutes, plus a router setting if yours needs one.

Steps

  1. In the app open Account, Bridges, Add a bridge, then On a computer at home.

  2. On Linux or Raspberry Pi OS, open a terminal and paste the line the app shows.

    The one line, run on the computer

    curl -fsSL https://routers.fvpn.net/bridge.sh | sudo sh -s -- 'FVR1-...'
  3. With Docker, run the command the app shows instead. It looks like this.

    The Docker command

    docker run -d --name forestvpn-bridge --restart unless-stopped \
      -p <udp-port>:<udp-port>/udp -p 443:443/tcp \
      -v forestvpn-bridge:/var/lib/forestvpn \
      suquant/fvpn:latest bridge serve --join 'FVR1-...'
  4. Let the router open the ports. The bridge asks the router to open them itself, using UPnP, PCP or NAT-PMP, whichever your router speaks. If your router has these switched off, turn on UPnP in its settings, or forward UDP port (the number the app shows) and TCP port 443 to this computer.

  5. In the app, wait for Found your bridge, check the address, and choose Use this bridge.

Check it worked

  • The app shows the bridge as Ready.
  • On the computer, fv bridge status shows the ports as open and the address.
  • If the app says Your bridge is running but doesn't answer from this network, the router did not open the ports. Run fv bridge doctor; the port mapping line names it.

Undo it

Remove the bridge in the app and uninstall the software as in Remove a bridge. Then switch off the router forwarding you added.

If something is wrong

See Fix a bridge that is not working. The shared address and port mapping lines of fv bridge doctor cover the two usual home problems.

Limits

  • No public address, no bridge. Behind a shared address nobody can reach the machine, and no setting fixes that. Rent a small server instead; see Choose where to host a bridge.
  • Your home address is the bridge's address. If your provider changes it, the bridge reports the new one at its next daily check-in, and until then the app may show it as not answering.

Back to Help

Back to top

Ask us anything