Server Deployment

This guide walks through deploying a new RemoteRF server connected to RemoteRF Global, allowing students and researchers to register once, enroll with <deployment>/<code>, and access your SDRs from any network without manual IP configuration or inbound firewall port-forwarding. Joining RemoteRF Global does not require making your hardware public — you control per user group whether devices remain private to your enrolled users, or whether a subset (or all) of your devices are shared publicly with the broader RemoteRF Global community.

Prerequisites

Before setting up the RemoteRF server, make sure you have:

  • A Linux computer to run the server. We recommend a fresh installation of Ubuntu 24.04 LTS (Desktop or Server) on x86_64 or aarch64, with tmux and openssh-client installed (sudo apt install -y tmux openssh-client).
  • One or more supported SDRs, such as two ADALM-PLUTO transceivers for an initial setup.
  • Python 3 with Conda (or Miniconda) and a dedicated remoterf-server environment.
  • Outbound internet access so the server can register with RemoteRF Global and maintain its outbound relay tunnel. A static local IP address and fixed open ports are not strictly required on a Global Deployment (since RemoteRF Global can tunnel client and host connections automatically), but are recommended so on-campus clients and local hosts can connect directly over LAN.

Need help with the prerequisites? Open any of the reference guides below:

Installation & First-Run Setup

Open a terminal on the server, create the remoterf-server environment, and activate it:

conda create -n remoterf-server -y python=3.12 pip
conda activate remoterf-server

1. Install remoterf-server

Install the server package and verify that the serverrf CLI is available:

python -m pip install -U pip
python -m pip install remoterf-server
serverrf --help

The remoterf-server package includes the Python bindings for the built-in ADALM-PLUTO, RTL-SDR, HackRF, Wi-Fi, and TI mmWave drivers (for USB/Ethernet ADALM-PLUTO radios attached directly to the server, also install native libiio as shown in the ADALM-PLUTO Device Guide).

2. Run First-Time Setup

Start the server to launch the interactive first-time setup wizard:

serverrf -s

On first run, serverrf -s automatically walks through four steps before opening the server@remoterf: console:

  1. Terms of Service: Review and accept the RemoteRF Terms of Service.
  2. Network Setup: Confirm the server’s detected LAN IP address (or enter a static IP), main gRPC port (default 61005), and certificate port (default 61006).
  3. RemoteRF Global Participation: Answer y to Join RemoteRF Global? and enter:
    • Deployment name: Your short deployment slug (3–32 lowercase letters, digits, or dashes, e.g., ucla). Once approved, your server is reachable at <name>.global.remoterf.net.
    • Display name: Human-readable institution or lab name shown to users (e.g., UCLA Wireless Lab).
    • Contact email: Administrator email address where your Global verification code will be sent.
  4. TLS Certificates: Automatically generates your root CA (ca.crt) and server certificate (server.crt) in ~/.config/remoterf/certs/ covering both your LAN IP and <name>.global.remoterf.net.

Activating RemoteRF Global

When you opt in to RemoteRF Global during first-time setup (serverrf -s), your registration request is submitted automatically (you do not need to run serverrf global join separately unless you skipped it during initial setup). Once your request is approved, RemoteRF Global emails a verification code to your contact address.

Redeem the verification code from either the server@remoterf: console or a Linux shell:

serverrf global verify <code>
serverrf global status

Once global status inside the running serverrf -s console reports active -- live and tunnel: up (note: running serverrf global status from bash shows tunnel: assigned), your server is connected to RemoteRF Global.

Important — Next Steps After Activating Global: Activating RemoteRF Global connects your server to the network, but no devices are visible or bookable yet. After completing this page:

  1. Attach and register your SDRs with serverrf devices add (see Device Setup).
  2. Create a user group with groups create (see Onboarding Users) and add your device IDs to it. If you want those devices to be openly bookable on RemoteRF Global, mark the group as public during creation. We recommend naming this user group "public" or "global".

You can check or manage Global participation at any time with:

  • serverrf global status: Inspect registration status (requested or active), assigned hostname, tunnel health (check inside serverrf -s for live up status), and last report timestamps.
  • serverrf global verify <code>: Confirm the verification code sent to your administrator email.
  • serverrf global join: Submit a RemoteRF Global enrollment request later if you skipped it during first-time setup.
  • serverrf global leave: Disconnect the deployment from RemoteRF Global and stop the relay tunnel immediately.

Listing Your Lab on the Public Directory Map (Optional): Connecting your server to RemoteRF Global establishes your <deployment>.global.remoterf.net routing and does not automatically list your lab on the website’s Deployments Directory. If you also want your lab’s profile, photos, and location pin featured on the public world map, submit the Register Your Node form.

Console & Background Lifecycle

When tmux is installed, serverrf -s (serverrf --serve) runs inside a dedicated background tmux session and attaches your terminal to the server@remoterf: console:

  • Detach (keep server running): Press Ctrl-C or type detach at the server@remoterf: prompt. The server continues running in the background.
  • Re-attach to the console: Run serverrf -s from any terminal to re-attach to the running server@remoterf: console.
  • Start detached in the background: Run serverrf -s --daemon (or run serverrf -s --foreground / --headless to run without tmux).
  • Check live status from bash: Run bare serverrf or serverrf status.
  • Stop the server: Type quit (or stop / exit / q) inside server@remoterf:, or run serverrf stop from a Linux shell.

Subcommands work identically inside the server console (such as devices add) and from a standard Linux shell by prefixing serverrf (such as serverrf devices add).

Next Steps

1. Installing Ubuntu 24.04 LTS

We recommend a fresh installation of Ubuntu 24.04 LTS (or Kubuntu 24.04 LTS). Other Linux distributions can work, though package names and USB rules may differ.

2. Installing Python and Conda

Install base system utilities and check your CPU architecture:

sudo apt update
sudo apt install -y python3 python3-pip python3-venv curl bzip2 tmux openssh-client
uname -m

On Intel/AMD (x86_64), install Miniconda with:

cd /tmp
curl -fsSLO https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p "$HOME/miniconda3"

On ARM64 (aarch64), use:

cd /tmp
curl -fsSLO https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
bash Miniconda3-latest-Linux-aarch64.sh -b -p "$HOME/miniconda3"

Initialize Conda:

source "$HOME/miniconda3/etc/profile.d/conda.sh"
"$HOME/miniconda3/bin/conda" init bash
source ~/.bashrc
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r

3. Requesting a Static IP & Ports

Global Deployments (Optional; Recommended): A static local IP address and fixed open ports are not strictly required when using RemoteRF Global, since the Global VPS can tunnel traffic between clients, hosts, and the server. However, assigning a static LAN IP and two open TCP ports (such as 61005 and 61006) is recommended so on-campus clients and local hosts can stream directly over your LAN with lower latency.

Local Deployments (Required): Standalone local servers require a stable static IP address (or DNS hostname) and two adjacent open TCP ports reachable over your LAN, Wi-Fi, or VPN.

If your campus or lab network is managed by an IT group, you can send them a request like the following:

Hello,

I am setting up a lab server that needs to be reachable across our campus network.

Could you please provide:
- One static IP address
- Two adjacent open TCP ports (for example, 61005 and 61006)
- Confirmation that these ports are reachable over campus Wi-Fi, LAN, and VPN
- The corresponding gateway, subnet mask, and DNS settings

Thank you.