Unified pkg(8) repository + single-page package manager for community and mirrored pfSense packages — everything Netgate dropped from (or never put in) the official repository, plus first-party packages, with signed repo metadata and full upstream provenance.
| Package | Source | License |
|---|---|---|
| pfSense-pkg-community (this manager) | first-party | MIT |
| pfSense-pkg-configbackup | tmiland-lab | MIT |
| pfSense-pkg-abuseipdb | tmiland | MIT |
| pfSense-pkg-adguardhome | tmiland | MIT |
| pfSense-pkg-airvpn-remotes | tmiland-lab | MIT |
| pfSense-pkg-vpn-providers | tmiland-lab | MIT |
| pfSense-theme-lightdark | tmiland-lab | MIT |
| pfSense-pkg-ovpn-totp | tmiland-lab | MIT |
| pfSense-pkg-RESTAPI | pfrest (mirror) | Apache-2.0 |
| pfSense-pkg-saml2-auth | pfrest (mirror) | Apache-2.0 |
| pfSense-pkg-dnscrypt-proxy | nopoz (mirror) | ISC |
| pfSense-pkg-wgeasy | MarceloMayo74 (mirror) | Apache-2.0 |
| pfSense-pkg-wg-export | 3um3le3ee (mirror) | GPL-3.0 |
| pfSense-pkg-Mullvad | mmahrous (mirror) | Apache-2.0 |
| pfSense-pkg-speedtest | bdelphin (built from pinned source) | Apache-2.0 |
Live listing: https://tmiland-lab.github.io/pfsense-community-packages/
cat > /usr/local/etc/pkg/repos/community.conf <<'EOF' community: { url: "https://tmiland-lab.github.io/pfsense-community-packages/repo", mirror_type: "NONE", signature_type: "PUBKEY", pubkey: "/usr/local/etc/pkg/community.pub", enabled: yes } EOF fetch -o /usr/local/etc/pkg/community.pub \ https://tmiland-lab.github.io/pfsense-community-packages/repo/community.pub # Check the key against the fingerprint under "Security / audit model" below sha256 -q /usr/local/etc/pkg/community.pub pkg update -r community pkg install -y -r community pfSense-pkg-community
Installing the manager package re-installs the repo configuration and trust anchor on every upgrade, and registers System → Community Packages in the GUI. Simplest path: install the repo conf + pubkey once, then let the manager handle everything else.
One page, every package, inline status:
- Not installed → Install button
- Up to date → Delete button
- Update available → Upgrade + Delete buttons
- A Refresh repository metadata button (
pkg update -f -r community) - The official repository's add-on packages are listed and managed on the same page (core system files are excluded and left to pfSense upgrades)
- Package names link to their upstream project repositories (curated
URLs from
packages/mirrors.jsonfor community packages; the package's declared home page for official ones) - Packages installed from the community repository are marked
automaticandvital, so pfSense's bulk operations (Factory Defaults, Reinstall all packages) skip them instead of aborting partway through, andpkg autoremoveleaves them alone. Removing one by hand therefore needspkg delete -f; the Delete button handles it. Packages from the official repository are left exactly as pfSense manages them. - Versions are shown as monospace chips — installed and available side by side, with the available version highlighted when an update exists
- View: Grouped / Flat — group the list by source repository (community first, then official) or switch to a plain alphabetical listing; the preference is kept across package actions
Every operation runs pkg-static synchronously and shows its output on the
same page. CLI equivalent:
/usr/local/pfsense-community/bin/community.php list /usr/local/pfsense-community/bin/community.php install pfSense-pkg-RESTAPI /usr/local/pfsense-community/bin/community.php delete pfSense-pkg-dnscrypt-proxy
-
Signed metadata: the repo metadata is signed (
pkg repo . rsa:); the firewall verifies the embedded signature against the published public key (signature_type: PUBKEY), same mechanism the official repos use. -
Mirrored packages are pinned upstream release assets. Every mirror has a provenance entry in
packages/mirrors.json(upstream URL, version, license, expected sha256). Builds fail hard on checksum mismatch. Where upstream publishes checksums, they are verified before recording; where upstream does not (pfrest), the recorded hash documents the reviewed build and is re-checked at every build. -
Source-built packages (
portentries) cover upstreams that ship neither release assets nor a pkg repository. The package is built at repo build time from a pinned upstream commit — the source tarball's sha256 is verified on every build — with the version, file list and description taken from the upstream port unchanged. -
ABI guard: every staged package is checked against the target ABI at build time; mismatches fail the build (see
_excludedinmirrors.json). Packages built on a newer FreeBSD userland than the target (poudriere'sFreeBSD_versionannotation) also fail the build — pkg would otherwise reject the whole repository on the firewall. -
Build provenance: the manager package is covered by a GitHub artifact attestation, a Sigstore-signed statement tying those exact bytes to the commit and workflow run that produced them. It is independent of the repository signing key, so it stays checkable even if that key is lost:
gh attestation verify pfSense-pkg-community-0.1.6.pkg \ --repo tmiland-lab/pfsense-community-packages
Each manager version is also published as a release asset with its sha256. Later refreshes re-publish those same bytes instead of a new build, so a version's checksum holds until the version changes, and the build fails if the contents drift without a version bump.
-
Trust anchor fingerprint: the public key that the install steps fetch over HTTPS, and that the manager installs, is
af462e9b6d23ce80dd83541ddba5a7f51eeb99b1097ec5d2a62f69bd0d785256Recorded here, in git history, as a check on the fetch that does not depend on the fetch:
sha256 -q /usr/local/etc/pkg/community.pubon the firewall,sha256sum community.pubelsewhere. -
First-party packages resolve to the newest build from their own repository at build time.
-
Mirrors are refreshed daily by .github/workflows/mirror.yml (FreeBSD VM runner) or manually:
sh pkg/build.shon a pfSense host.
Add an entry to packages/mirrors.json — own (a pkg repository to resolve
the newest version from), mirror (a pinned upstream release asset + sha256),
or port (a pinned upstream port commit, built at repo build time). Rebuild.
Only redistribute what the upstream license permits.
pkg remove -y pfSense-pkg-community
The menu entry is removed, but the repo configuration is intentionally
kept so already-installed community packages can still be upgraded with
pkg. Remove /usr/local/etc/pkg/repos/community.conf manually if you want
it gone.
If you find this useful, consider sponsoring or tipping — it keeps the mirrors fresh.
Built with opencode — the open-source AI coding agent for the terminal. Grab your own at opencode.ai/go.
MIT — see LICENSE. Mirrored packages keep their upstream licenses (see table above); redistribute only what those licenses permit.
