# More Reliable Background Tailnet Access on iPhone and iPad

Canonical: https://galaxnet.dev/nova/articles/background-tailnet-location-journal-local-proxy/
Language: en-US

Use NovaScale's local Connection Journal to help tailnet connections stay active in the background, and optionally connect Termius through a local proxy.







Switching from an SSH client to another app can interrupt a remote connection on iPhone or iPad. NovaScale 1.8.0 adds an optional Connection Journal whose background location updates can help its built-in tailnet connection stay active for longer. You can also enable Local Proxy to reach tailnet peers from another app, such as Termius, on the same device. **For that background proxy workflow, enable Connection Journal's location recording before switching apps and keep it active while you work.**

**The journal is stored locally on your device. NovaScale does not upload it to our servers or sync it through iCloud.** The background benefit is a side effect of recording connection locations, and iOS remains in control of how long the app can run.

## Why location tracking can help background connections

NovaScale runs its Tailscale connectivity inside the app. When iOS suspends the app, its networking work can also be interrupted. Keeping an SSH connection open does not, by itself, give an app unlimited background execution time.

Location updates have a supported background mode. Apple explains that an app with When In Use authorization can continue running in the background while its background location services are active; normal suspension rules apply when they are not. This is the mechanism behind the potential benefit to NovaScale's in-app tailnet connection. See [Apple's explanation of location authorization](https://developer.apple.com/documentation/corelocation/requesting-authorization-to-use-location-services).

Termius documents the same useful side effect: adding location tracking to its connection history can make background connections less likely to be interrupted. Its guide, [How can I keep Termius sessions alive in the background on iOS/iPadOS?](https://docs.termius.com/help-center/faq/how-can-i-keep-termius-sessions-alive-in-the-background-on-ios-ipados), explains the iOS limitation and why a terminal app offers location tracking.

In NovaScale, the feature provides a connection journal and may improve background availability while recording is active. It cannot guarantee an always-on tailnet connection: iOS can pause location updates or terminate the app, and a network outage can still break a connection.

## What NovaScale saves, and where

Connection Journal records one entry when a supported SSH Terminal, SFTP, or Herdr connection starts. It saves the source, connection time, host details, and an approximate location close to that start time, if one is available.

- **Local storage:** the journal stays in NovaScale's storage on this device. It is excluded from iCloud sync and device backups, and NovaScale does not upload it to our servers.
- **Approximate locations:** stored coordinates are rounded to roughly kilometer-scale detail. Precise Location is not required.
- **Connection history:** the journal saves connection-start locations, not a continuous travel route or a transcript of terminal commands and output.
- **Limited retention:** history is kept for up to 30 days, with a maximum of 1,000 entries. You can delete entries or all history sooner.
- **Explicit controls:** recording is optional. You can turn it off or set Auto-Off at any time.

Monitoring connections and connections made by third-party apps through Local Proxy are not added to this journal. Location updates can continue while recording is enabled even when there is no new connection entry to save.

## Enable Connection Journal before switching apps

1. Open NovaScale and connect to the tailnet you want to use. Confirm that your destination host is reachable.
2. Open **More → Connection Journal** and turn recording on while NovaScale is in the foreground.
3. Allow location access when prompted. **While Using the App** is sufficient for this workflow; NovaScale does not require Always authorization. You can leave **Precise Location** off.
4. Check that the journal status shows **Recording**. Open **Auto-Off** and choose a duration appropriate for your work, such as one or two hours.
5. Use SSH Terminal, SFTP, or Herdr as usual. You can review recorded connections under **Location History**.

The background location indicator is expected while recording is active. Recording uses battery, so stop it when you finish. Auto-Off stops recording after the chosen period, although iOS may delay that action and its notification while the app is suspended.

If the status changes to **Paused**, bring NovaScale back to the foreground and check recording again. If location access is disabled, use **Open Settings** from the journal screen to review the permission. An enabled switch alone does not prove that background location is currently active.

## Optional: use Termius through NovaScale's Local Proxy

Local Proxy lets a compatible app on the same iPhone or iPad use NovaScale's active tailnet to reach a peer. Termius remains the SSH client: it handles your terminal, SSH credentials, and host-key checks. NovaScale supplies the network path.

Switching to Termius puts NovaScale in the background. **Complete the Connection Journal setup above first and confirm that its status is Recording.** The proxy itself does not keep NovaScale running; this workflow relies on the background execution provided by active location updates. If recording pauses, is turned off, or reaches its Auto-Off limit, the proxy can lose that background support.

### Start the proxy in NovaScale

1. Confirm that **More → Connection Journal** shows **Recording**, with an Auto-Off duration that covers your planned session.
2. Open **More → Local Proxy** and turn it on.
3. Wait for **Connected**. If you see **Waiting for Tailnet**, check NovaScale's active tailnet connection first.
4. Note the displayed endpoint, which has the form `127.0.0.1:<port>`.

**Automatic Port** is available on Free; copy the current port whenever you start a new proxy session because it may change. Pro lets you save a **Fixed Port** for future sessions. For example, if you choose `18080` and it is available, the endpoint is `127.0.0.1:18080`.

### Configure the SSH host in Termius

Create or edit a host in Termius, then open its **Proxy** settings. Termius documents the mobile workflow in [Connect through a proxy](https://docs.termius.com/organize-and-connect-to-hosts/connecting-to-a-server#connect-through-a-proxy).

| Setting | Value |
| --- | --- |
| SSH host address | Your remote peer's Tailscale IP address |
| SSH port | The SSH service port on that peer, usually `22` |
| SSH username and credentials | Your normal credentials for the remote host |
| Proxy type | SOCKS5, or HTTP for an HTTP CONNECT connection |
| Proxy server | `127.0.0.1` |
| Proxy port | The port currently displayed in NovaScale |
| Proxy username and password | Leave blank; NovaScale's Local Proxy is passwordless |

Save the proxy and host settings, then connect. The remote peer remains the SSH destination; `127.0.0.1` belongs only in the proxy server field. Leave Mosh disabled for this setup because Local Proxy carries TCP, not UDP.

Start with the peer's Tailscale IP address to avoid client-side DNS issues. The proxy also accepts a current peer's full MagicDNS name or an unambiguous short name when the client passes that name to the proxy.

For example, with a fixed proxy port of `18080`, Termius connects through `127.0.0.1:18080` to your peer's Tailscale address on port `22`. Your SSH password or key is still used by Termius to authenticate to that peer; it is not a proxy password.

### Understand the proxy's scope

The proxy reaches **peers in the currently active tailnet**. It does not provide general internet access, exit-node routing, or access to arbitrary addresses behind a subnet router. It listens only on this device's loopback address, so another device on your Wi-Fi network cannot use that endpoint.

Other apps must explicitly support and use SOCKS5 or HTTP proxy settings. This does not configure a device-wide VPN. Because the loopback proxy has no password, another app on the same device that connects to its port can also attempt to reach allowed tailnet peers. Enable it only when needed.

Switching tailnets preserves the listening port but closes existing proxy connections. Reconnect Termius after the new tailnet is ready.

## How the journal and proxy work together

**For background proxy use, keep Connection Journal's location recording active.** You can start Local Proxy without location permission for foreground use, but starting the proxy alone does not prevent iOS from suspending NovaScale after you switch apps. The practical background workflow depends on the side effect of active location updates, so check both **Recording** and **Connected** before leaving NovaScale.

Location recording does not guarantee uninterrupted service. iOS may pause updates or terminate NovaScale even while the feature is enabled. If you choose not to enable recording, do not rely on the proxy remaining available after NovaScale leaves the foreground.

Both apps still have their own lifecycles. Keeping NovaScale active does not grant Termius background execution, and Termius's own location setting does not keep NovaScale running. If either app is suspended or closed, the connection may stop. Reopen NovaScale, check the tailnet and proxy status, then reconnect from the client.

For remote work that must survive a disconnected phone, use a server-side session tool such as tmux or Herdr. Background location can help the network path remain available; the server-side session is what lets you return to work after the client disappears. See [NovaScale, Termius, tmux, and Tailscale workflows](/nova/articles/termius-tmux-tailscale-vs-novascale-terminal/) for more context.

When you finish, turn off Local Proxy and Connection Journal separately. Turning off one does not turn off the other. To remove the saved journal, open **Location History** and delete its entries; deleting all history also stops recording.

For the rest of the update, read the [NovaScale 1.8.0 release notes](/nova/releases/1.8.0/).


