Pfsense Serial Number -

pfSsh.php
print_r(get_single_sysctl('system.serial'));

This returns the raw serial string for scripting purposes.

The fastest way for 90% of users is via the pfSense web interface.

Important Note: On pfSense Community Edition (CE) running on generic PC hardware, this field will often be blank or display "N/A." This is normal because CE does not require a license for generic hardware.

| Command | Purpose | Context | | :--- | :--- | :--- | | dmidecode -t system | View full hardware info (Manufacturer, Model, S/N) | Useful for identifying generic hardware. | | pfSsh.php playback enablesshd | Enable SSH if locked out | Allows remote CLI access to find serial. | | cat /var/etc/platform | Check installed platform | Confirms if running CE or Plus. |

If the hardware exposes its serial number to the operating system via SMBIOS/IPMI, you can find it inside pfSense.

  • Why it matters: Required when contacting Netgate support, registering hardware, verifying warranty/RMA eligibility, and confirming legitimate hardware for subscriptions or entitlements.
  • Privacy/security note: Do not share the serial number publicly; provide it only to authorized support channels or via secure support forms.
  • If you can’t find it:
  • If you want, tell me the device model or whether you’re using a Netgate appliance vs. a community install and I’ll give exact menu paths and screenshots-ready steps.

    (End)

    Finding the serial number of your pfSense device is essential for support, registration, and hardware identification. Depending on whether you are using official Netgate hardware or a custom build, the methods for locating it vary. 1. Through the Web GUI (Easiest) pfsense serial number

    The quickest way to find the serial number for Netgate hardware is directly from the pfSense dashboard. Log in to your pfSense Web GUI. Navigate to Status > System Information.

    Look for the Netgate Device ID or Serial Number field. On official appliances, the unique hardware serial number is usually displayed here. 2. Using the Command Line (CLI)

    If you are connected via SSH or using the console port, you can pull hardware information directly from the BIOS or system management interface.

    For Netgate Hardware: Run the following command to retrieve the serial number from the system's SMBIOS:dmidecode -s system-serial-number

    For Custom Hardware: If dmidecode is installed, it may show the motherboard serial number, though this is not a "pfSense serial" in the same way Netgate's ID is. 3. Physical Label

    Official Netgate appliances (like the SG-1100, 2100, 4100, etc.) have a physical sticker on the chassis. Check the bottom or back of the device.

    The label will typically list the Serial Number (S/N) and often the MAC Address. 4. Netgate Device ID vs. Serial Number It is important to distinguish between these two: This returns the raw serial string for scripting purposes

    Serial Number: The physical hardware ID assigned during manufacturing. This is what you need for warranty claims.

    Netgate Device ID: A unique string generated based on your hardware's characteristics. This is often used for pfSense Plus subscriptions and software registration. You can find this at the top of the Dashboard or under System > Register. Why do you need it?

    Support Tickets: Netgate requires the serial number to verify your support eligibility.

    pfSense Plus Upgrades: When moving from CE (Community Edition) to Plus, the software binds to your unique Device ID.

    Inventory Management: Essential for tracking hardware in data centers or multi-site deployments.

    pfSense serial number is a unique identifier primarily used to verify hardware authenticity and manage Netgate Service and Support . Depending on whether you are using official Netgate appliances

    or custom "white box" hardware, the system will display either a physical manufacturer serial or a software-generated ID. Netgate Documentation Where to Find the Serial Number WebGUI Dashboard : Navigate to the main status page. In the System Information Important Note: On pfSense Community Edition (CE) running

    widget, the serial number is listed under the "System" section alongside the model and Netgate Device ID (NDI). Console/SSH : Log in to the console or an SSH session. The Console Menu banner often displays the serial number at the top. Physical Label : For official hardware from retailers like

    , the serial number is typically printed on a label on the bottom or back of the unit. Netgate Forum Retrieving via Shell Commands

    If the information is not appearing in the GUI, you can pull hardware identifiers directly from the pfSense shell (Option 8 in the console menu): Netgate Documentation Standard BIOS Serial utility to pull manufacturer data: dmidecode -s system-serial-number Alternative Method is not installed, you can try: kenv smbios.system.serial Generic Hardware : On non-Netgate systems, pfSense may instead display the kern.hostuuid , which is a randomly generated UUID created during the first boot after installation. Netgate Forum Key Differences: Serial Number vs. Netgate Device ID (NDI) Serial Number

    : Tied to the physical hardware or BIOS. It is used for warranty claims and original order verification Netgate Device ID (NDI) : A unique software-calculated string used to link support contracts

    to a specific instance of pfSense, preventing "spoofing" on generic hardware. Sensitive Information & Security System serial number | Netgate Forum

    A "full guide" for pfSense serial numbers covers several different topics depending on what you are trying to achieve. Are you trying to find the serial number of your hardware? Are you trying to change the serial number in the configuration (common with China-imported network cards)? Or are you looking to validate a Netgate appliance license?

    Here is the comprehensive guide covering all aspects of pfSense Serial Numbers.


    The location of the serial number varies drastically depending on your setup. Below are the four definitive ways to find it.

    Warning: This involves low-level hardware writing. Incorrect flashing can brick your network card.