The Handbook

    Theme
    • Guides
        • Check a system before installing FreeBSD
        • Orient a Linux administrator on FreeBSD
        • Supported FreeBSD releases
        • Choose a FreeBSD documentation and support channel
        • Move files safely without GNU mv -t
        • Update, upgrade, or update packages?
        • Upgrade 14.4 or 15.0 to FreeBSD 15.1
        • Choose packages, ports, or poudriere
        • Choose the quarterly or latest package branch
        • Choose a FreeBSD download or package mirror
        • Make a system setting persistent
        • Configure locale, keyboard, and time zone
        • Configure a serial console for recovery
        • Choose a custom kernel, module, or loader setting
        • Run a Linux binary with the compatibility layer
        • Check desktop and laptop hardware before installation
        • Choose and check a graphics driver
        • Choose Xorg or Wayland
        • Build a maintainable desktop baseline
        • Install and check a desktop browser
        • Check laptop Wi-Fi, power, and suspend
        • Check multimedia readiness
        • Choose and configure a printing stack
        • Run Windows applications with Wine
        • Snapshot and replicate a ZFS dataset
        • Choose a filesystem and storage layout
        • Operate ZFS without losing the recovery path
        • Restore files from a ZFS snapshot
        • Read ZFS pool health and run a scrub
        • Replace a failed device in a ZFS mirror
        • Replicate a ZFS dataset over SSH
        • Change PF safely on a remote host
        • Configure a narrow WireGuard tunnel
        • Plan a FreeBSD home server
        • Choose a mail server or an outgoing relay
        • Publish a network service safely
        • Choose a jail network model
        • Choose native jails or a jail manager
        • Choose a jail or a bhyve virtual machine
        • Establish a FreeBSD security baseline
        • Choose a MAC policy
        • Audit security-relevant activity
        • Start a DTrace performance investigation
    • Integrations
        • Create a first jail with Bastille
        • Compare jail managers and OCI tooling
        • Publish a Bastille service through PF
        • Mount a ZFS dataset in a Bastille jail
        • Update and upgrade Bastille jails
        • Back up and restore a Bastille jail
        • Prepare bhyve and vm-bhyve
        • Choose NFS or Samba for file sharing
        • Choose ZFS backup automation
        • Operate a signed poudriere repository
        • Manage FreeBSD configuration with Ansible or Salt
        • Run Motion with webcamd on FreeBSD
        • Design a reverse proxy, certificates, and monitoring
    • FAQ
    • Troubleshooting
        • Recover an interrupted freebsd-update run
        • Resolve a package repository or ABI mismatch
        • Diagnose the FreeBSD boot path
        • Recover with a ZFS boot environment
        • Diagnose DNS, routing, and firewall paths
        • Diagnose network mbuf exhaustion
        • Bind a service to a low port without running it as root
        • Diagnose audio output or input
        • Diagnose webcamd, cuse, and a webcam
        • Fix USB device permissions without opening every device
    • About this handbook
    • Synopsis
    • Choose the service first
    • Use automatic selection by default
    • Select a fixed mirror only with evidence
    • Verify downloaded release media
    • Primary references

    Choose a FreeBSD download or package mirror

    Last reviewed
    13 August 2026
    Applies to
    15.1-RELEASE, 15.0-RELEASE, 14.4-RELEASE

    Synopsis #

    The official download.FreeBSD.org and pkg.FreeBSD.org services are normally preferable to a manually selected mirror. They use project infrastructure, GeoDNS, and content delivery to direct requests. A fixed regional host can remove automatic fallback and can become stale or unavailable.

    Mirror selection also depends on the object being retrieved. Installation images, binary packages, source repositories, and archived releases use different services.

    Choose the service first #

    Material Preferred service
    Installation images and release sets https://download.FreeBSD.org/
    Binary packages The configured pkg.FreeBSD.org repository through pkg
    Source, Ports, and documentation Git repositories https://git.FreeBSD.org/
    Historical, unsupported releases http://ftp-archive.FreeBSD.org/

    ftp.FreeBSD.org carries the same content as download.FreeBSD.org, but the official mirror appendix recommends the download name. HTTPS is preferable for ordinary image downloads.

    Use automatic selection by default #

    During installation, selecting the main download.FreeBSD.org GeoDNS entry routes the request automatically. For packages, retain the official repository URL and its mirror configuration unless evidence shows a persistent routing problem.

    Inspect the effective package repository before changing it:

    $ pkg -vv
    $ pkg repositories
    

    A package failure can instead indicate an unsupported release, an incorrect ABI, stale metadata, DNS failure, or a branch mismatch. Follow the package repository and ABI troubleshooting guide before pinning a server.

    Select a fixed mirror only with evidence #

    The official mirror appendix lists community-operated mirrors and their advertised protocols, but warns that the protocol list may not be current. Before using one, confirm:

    1. The exact release, architecture, and file exist.
    2. The mirror serves a current copy of the official checksum files.
    3. HTTPS is available when required by local policy.
    4. A documented fallback exists if the mirror becomes unavailable.

    Use a fixed mirror as a measured exception, not as a permanent performance assumption. Record why it was selected and periodically compare it with the main service.

    Verify downloaded release media #

    Download the checksum file from the official release directory through a trusted connection. Calculate the digest of the image locally:

    $ sha256 FreeBSD-15.1-RELEASE-amd64-memstick.img
    

    Compare the complete digest and filename with the published value. A matching digest detects download corruption when the checksum source is trusted. For authenticity independent of the transport, verify the signed checksum file using a locally trusted FreeBSD release-engineering key and the procedure linked from the release page.

    Package downloads are handled and signature-checked by pkg according to the repository configuration. Do not replace that workflow with manual package downloads to work around an unexplained repository error.

    Primary references #

    • FreeBSD Handbook: official and community mirrors
    • FreeBSD Handbook: choosing an installation mirror
    • FreeBSD download page
    • pkg-repositories(8)
    • sha256(1)

    Independent documentation. Not affiliated with or endorsed by the FreeBSD Project or the FreeBSD Foundation.

    Report a bug
    • Synopsis
    • Choose the service first
    • Use automatic selection by default
    • Select a fixed mirror only with evidence
    • Verify downloaded release media
    • Primary references