Starlink Hardware

This page covers how to configure Starlink hardware for use with RADNAC.

For this we need the IP addresses RADNAC provides for the service. To obtain these go to the managed application page and navigate the menu on the right Settings  Parameters and Outputs and listed at the bottom, under the ‘Outputs’ section, are the values we need (your values will be different):

  • ‘serviceIPv4’: our example will use the value ‘203.0.113.14’

  • ‘serviceIPv6’: our example will use the value ‘2001:db8:1016:2::1fe’

Starlink have documentation for their routers for how to configure Remote RADIUS wireless networks.

Starlink only support RadSec; this means you cannot use unencrypted RADIUS over UDP or TCP.

Configuration

For this you will need the CA (or self-signed server certificate) in PEM format that you configured RADNAC to present for its Global TLS X.509 named ca.pem (or radnac.pem for the self signed cerificate).

RADNAC

Start by logging into RADNAC’s user interface and create a new RADIUS device for your Starlink(s):

Under basics set the name to ‘Starlink’ and the IP addresses to:

  • 0.0.0.0/0

  • ::/0

We have to allow access from all IP addresses as Starlink’s vary their address over time.

Fortunately the connection is secured using RadSec and we can authenticate legimate Starlink routers from their client certificate.

Leave both ‘Intranet’ checked and ‘Roles’ set to ‘Client’ only.

Move onto the RadSec transport tab:

  • Transport TCP: checked

  • Authentication: X.509

  • TLS Peer X.509 Certificate CA Store: use the following PEM CA provided:

    -----BEGIN CERTIFICATE-----
    MIIBkzCCARmgAwIBAgIBAjAKBggqhkjOPQQDAzAbMRkwFwYDVQQDExBTcGFjZVgg
    Um91dGVyIENBMCAXDTIwMDMwNTAwMDAwMFoYDzIwNTAwMzA0MDAwMDAwWjAbMRkw
    FwYDVQQDExBTcGFjZVggUm91dGVyIENBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE
    IMlz8vR38qC3xlGpaHusimcHG2TjFSzlOsT7mC0wsws0EfN9Az4oXB84iav7m/+F
    +speY2wy0+1mJtPuWclon5jmmh7yKrY/Dy96GB5Pbe4cTl+VaZt+LOqJSwr5XiKO
    oy8wLTAdBgNVHQ4EFgQUXK1XuFQFitF8QKLiv/LDgeiTQiAwDAYDVR0TBAUwAwEB
    /zAKBggqhkjOPQQDAwNoADBlAjA5YdtwYCAbkAJrTy3iYims+IWdvSZNrg2JjQDS
    xkL/7MjFyOklldNKA0xpZ4W8tdsCMQCmeBwhwxR5jvfHmILKC8UGGPiWUpPh1D6T
    byorjERfVZQxfvoV0ntqKd6Zc4GA1es=
    -----END CERTIFICATE-----
  • TLS Peer X.509 Subject match:

    If you have a single Starlink router
    1. On your Starlink app, get the Router ID.

      • This value will have the prefix ‘Router-’.

      • The letters after the prefix must be upper case.

      • An example value would be ‘Router-01000000000000001234ABCD’.

    2. For the RADNAC subject match field, use the value:

      /C=US/O=SpaceX/CN=<your-router-id>

      An example value would be:

      /C=US/O=SpaceX/CN=Router-01000000000000001234ABCD
    If you have or plan to use multiple Starlink routers

    Set the value (with the trailing hyphen) to:

    /C=US/O=SpaceX/CN=Router-
  • Shared Secret:

    If you have a single Starlink router

    Set this value to ‘radsec’.

    If you have or plan to use multiple Starlink routers

    Generate a secure shared secret to use. Must not be ‘radsec’!

    RADNAC only supports a single string match and not a regular expression for client certificate subject field matching.

    This means we lean into a (non-standard for RadSec) shared secret to prevent other Starlink routers not under you administrative control being able to interact with your RADNAC deployment.

    It is on the roadmap to allow authorizing from a list of subject string match patterns.

Complete the RADNAC configuration by clicking on the Create button.

Wireless

Log into your Starlink account and navigate to your router’s wireless configuration page and add a wireless network.

Creating a RADIUS profile

Use the values:

  • Network Name: radnacwifi

  • WiFi Security: Remote RADIUS

  • Password: The shared secret you used whilst creating a RADIUS device in RADNAC above.

  • Remote RADIUS Server: Use the first ‘serviceIPv4’ (or ‘serviceIPv6’ though untested) IP address from the RADNAC and add the suffix :2083

    • An example value would be 203.0.113.14:2083 or [2001:db8:1016:2::1fe]:2083

    • It is unclear if Starlink support:

      Multiple RADIUS server IP addresses

      This provides high availability but it is unclear if or how you would be able to enter them in. If you can determine how to enter in multiple IPs, try space or semicolon (‘;’), test by setting the first IP address to an invalid entry (try using the value 192.0.2.1:2083) and a second correct entry. If authentication still works after a reboot of the Starlink, then set all the IP addresses to their correct values.

      IPv6 support for RADIUS servers

      Starlink claim to be ‘IPv6 native’ so it may work using the usual square bracket notation shown above wrapping the raw IPv6 literal.

      If you determine officially any answers here, please do contact us so that we may update the documentation.

  • Remote RADIUS Server Certificate: Paste in the PEM format of the certificate.

    It has been reported that using the File upload button is more reliable.
  • Radius Transport Protocol: TLS

Leave the other fields left to their defaults and save and apply those changes.

Your equipment should now configured to use RADNAC.

Quirks

It exists only to document issues in the vendor’s implementation that may have an effect in your use of their equipment.

Where possible RADNAC tries to mitigate against the broken behavior but for some issues there is only so much we can do.

For most people, this section may be ignored.
Retransmission over RadSec

This violates the RadSec (and RADIUS over TCP) standard.

It has been observed that a Starlink will resend the same RADIUS request (ID, attributes) over the same connection which is not something the RADIUS server is expecting to occur and can lead to awkward issues.

Sending Accounting-Request without Acct-Session-Id

Violates the standard and makes it impractical to reliably associate accounting information to a given user session.

Sending Accounting-Request with Acct-Status-Type = 0x00

This is non-standard but seems to always occur immediately before (back to back in the same TLS record) of the actual EAP/Identity of an authentication beginning.

Sending duplicate and multiple ‘zombie’ EAP/Identity responses alongside the actual EAP/Identity

This does not happen for every authentication but regularly the Starlink router will send the following TLS record sequence all in the same microsecond for a single authentication:

  • Send Accounting-Request/Acct-Status-Type = 0x00.

  • Send the Access-Request start of the actual authentication with an EAP/Identity response.

  • Send two duplicate Access-Request ‘zombie’ non-continuing EAP/Identity responses (back-to-back in the same TLS record) with a different RADIUS ID of the one seen in (2); this request will never complete and the RADIUS server will hear no further EAP/Identity responses to its requests.

  • Send a duplicate of the Accounting-Request/Acct-Status-Type = 0x00 seen in (1) followed (back to back in the same TLS record) with the EAP/Identity response seen in (2).

  • Send a duplicate of the ‘zombie’ EAP/Identity response seen in (3) followed (back to back in the same TLS record) by a duplicate of the Accounting-Request seen in (1)

A few milliseconds later it will then send a duplicate of the EAP/Identity seen in (2) followed (back to back in the same TLS record) by a duplicate of the EAP/Identity seen in (3).

This is all before the RADIUS server has had a chance to respond.