Get One Month of Starlink FreeSPECIAL OFFER: GET A FREE MONTH OF STARLINK >
Ethernet cables and networking equipment for Starlink accessories

How to Use a Raspberry Pi With Starlink Without Exposing SSH

Tips & Tricks

Back to Tips & Tricks

Raspberry Pi computers are useful at a Starlink site for local dashboards, small services and a private remote-access endpoint. The safest pattern is to keep the Pi on the local network, give it a predictable address, and reach it through an authenticated outbound connection when you are away. Do not expose SSH directly to the internet just because the Pi is behind a Starlink router.

Hardware, router menus and Raspberry Pi OS releases vary. Use the options shown by your own equipment as the final authority, and test every remote-access change while you are still on site.

What this guide is for

This guide covers a Raspberry Pi connected to a Starlink network for a local service, such as a dashboard, monitoring tool or small server. It also covers secure administration from outside the property.

It does not turn the Pi into a replacement Starlink router, promise a public inbound address or make an unattended site fail-safe. If you need a service to remain available during a power or satellite outage, plan a separate power and recovery path.

Before you start

You need:

  • A Raspberry Pi with a supported operating system, current updates and reliable storage.
  • A stable power supply and, where possible, Ethernet to the Starlink router, Ethernet Adapter, switch or your own access point.
  • A phone or computer that can join the same local network for the first test.
  • A second connection, such as mobile data, for testing remote access without accidentally using the local Wi-Fi.
  • A private remote-access method you control, such as an outbound VPN or overlay network, with multifactor authentication where available.
  • A backup or re-image plan for the Pi. A microSD card is not a substitute for a backup.

Write down which device is providing routing and Wi-Fi. If a second router is involved, record whether it is in router mode or access-point mode. This prevents the Pi from being placed behind an unexpected second network.

1. Put the Pi on the intended local network

Connect the Pi by Ethernet if the service needs steady access or will move a lot of data. Wi-Fi is fine for a light service when the signal is reliable.

Join the Pi to the same non-guest network used by the devices that need the service. Then confirm both sides of the path:

  • The Pi receives an address from the network you intended.
  • A phone or computer on that network can reach the Pi by its local address.
  • The Pi can reach the local gateway and the internet when the Starlink connection is available.
  • The service is not relying on guest-network access to reach ordinary household devices.

On the Pi, hostname -I shows its current local address and ip route shows the default gateway. You can use those as clues, but the router's client list is the better place to create a DHCP reservation.

2. Make the Pi's local identity predictable

Create a DHCP reservation for the Pi in the router that actually provides DHCP. This keeps the Pi's local address stable without hard-coding a static address that might conflict with another device.

Record the Pi's hostname, reserved address, Ethernet or Wi-Fi connection, power socket and the service it provides. Label the hardware without writing down passwords or private keys.

If the Pi is connected through a second router, decide which device owns the local network. Avoid leaving both routers in ordinary router mode unless you deliberately need two separate networks and have tested the route between them.

3. Secure administration before installing a service

Use a unique administrator password and enable a normal user account for everyday work. Use SSH keys for remote administration if your setup supports them, and test the key from a second device before disabling password login.

Limit administration to the paths you actually need:

  • Allow local SSH only from your trusted network, or allow it through the private overlay rather than from the public internet.
  • Keep the operating system and the service updated during a planned maintenance window.
  • Remove or disable services you do not use.
  • Keep the Pi off the guest network unless the design specifically requires isolation and you have verified the needed traffic.

Do not create a router port-forwarding rule for SSH as a first step. A port that appears reachable from outside is not proof that the service is secure, and many Starlink connections do not provide a straightforward inbound path anyway.

4. Install one service and prove it locally

Install the smallest supported service that solves the problem. Follow that software's current installation and authentication instructions instead of copying a command from an unrelated Raspberry Pi image.

From a device on the same local network, verify:

  • The service opens at the Pi's local address.
  • Authentication is enabled before the service is used outside your home.
  • The service starts after a normal Pi reboot.
  • Logs do not fill the storage or repeatedly restart the process.

Keep the first test simple. A local dashboard or status page that works from one phone is a useful baseline before you add remote access, automation or multiple clients.

5. Add remote access without exposing SSH

Choose a private outbound connection that the Pi and your remote device can both authenticate to. The Pi should make an outbound connection to the service, and you should reach the Pi over that private path. Protect the account with multifactor authentication where available.

Test the remote path with Wi-Fi disabled on your phone. Use the Pi's private overlay address or private name, not a public port. Confirm that:

  • You can reach the intended service and nothing else.
  • SSH is still unavailable from the public internet.
  • Losing the private overlay login does not reveal the Pi's local administrator password.
  • The service remains protected by its own authentication rather than relying only on the network tunnel.

If you use a self-managed VPN on your router or another always-on host, check how your Starlink plan and router handle inbound connections. A private overlay that works through outbound connections may be simpler for a site that does not have a usable public address.

6. Test restart and loss-of-connection behaviour

Remote access is only useful if the Pi returns to a known state after an ordinary restart. While you are on site:

  1. Open the service locally and through the private path.
  1. Restart the Pi using its normal operating-system method.
  1. Wait for the network connection and service to return.
  1. Confirm that the service starts without an interactive login.
  1. Test again from mobile data.

Then disconnect the Starlink path briefly or wait for a controlled network interruption. The Pi should fail in an understandable way and recover without a repeated power cycle. Do not use a smart plug as a substitute for fixing a service that is crashing or waiting for a login prompt.

Troubleshooting

The Pi has an address but the service is unreachable

Check that the client and Pi are on the same intended network, that guest isolation is not blocking local traffic, and that the service is listening on the Pi's local address rather than only on the loopback interface.

Local access works but remote access fails

Check the private overlay's device status, account approval and route before changing Starlink settings. A working local service with a failed remote path usually points to the overlay or authentication layer.

The service disappears after a reboot

Check the service's startup configuration, storage health and logs. Reproduce the restart while you are physically present before trusting the Pi at an unattended site.

The Pi consumes more data than expected

Review updates, logs, backups, dashboards and camera or media traffic. Keep local monitoring local where possible, schedule large transfers, and avoid repeated speed tests through the Pi.

The Pi cannot reach devices on another router

Map the two networks and decide whether the route should be local, routed through an access point, or intentionally isolated. Do not solve an unclear route by opening broad firewall rules.

A small recovery plan

Keep a written recovery note with the Pi's purpose, router location, reserved address, service name, update window and a safe restart sequence. Store a current configuration backup and a way to re-image the Pi.

Have an on-site fallback for the tasks that matter. A Raspberry Pi can make a Starlink site easier to observe and manage, but it should not be the only way to reach an emergency contact, unlock a property or restore internet service.

Quick checklist

  • Pi connected to the intended non-guest network.
  • DHCP reservation recorded on the correct router.
  • Unique administrator credentials and tested SSH key.
  • Unused services removed or disabled.
  • Local service tested before remote access was added.
  • Private outbound access protected with authentication and multifactor authentication where available.
  • No public SSH port-forwarding rule.
  • Normal reboot tested from local and mobile connections.
  • Storage, updates, logs and power path included in the maintenance plan.
  • Recovery note and re-image or backup plan available.