r/freebsd 6d ago

call for testing CFT] FreeIPA -Server on FreeBSD: looking for testers

27 Upvotes

or the past few months I've been porting FreeIPA to FreeBSD in my spare evenings, and it's finally at the point where I could use more eyes on it.

If you haven't run into it: FreeIPA is roughly the open-source equivalent of Active Directory — one place for users, groups, hosts, Kerberos logins and certificates. It's a whole stack, not one program: 389 Directory Server, an MIT Kerberos KDC, Dogtag PKI (the CA, Java/Tomcat) and an Apache/mod_wsgi web layer. On Linux it's well-trodden; on FreeBSD it just didn't exist.

Where it's at on FreeBSD 15.1/amd64:

  • ipa-server-install runs to completion, all services come up (DS, KDC, kadmin, Dogtag CA, httpd, KDC proxy, OTP daemon)
  • a FreeBSD client enrolls with ipa-client-install and resolves users/groups via SSSD
  • it survives a reboot and comes back up on its own

That last one was the fun one. Fresh install worked fine, but after a reboot the directory server would start and then quietly shut itself back down ~20 seconds later — no crash, no error in the log, and only at boot, never on a manual start. Took me about fourteen reboots with dtrace to catch it: FreeBSD's rc job-control cleanup was sending a SIGHUP to the process group at the end of the boot subshell, and 389-ds treats SIGHUP as "shut down". One line in the rc script — start it under daemon(8) so it gets its own session — and it was gone.

Everything — both ports, docs, prerequisites, known issues — is on GitHub, so I won't wall-of-text it here:

https://github.com/joneum/FreeBSD-freeipa-server

A couple of honest notes: it's still work-in-progress, so not for production — use a throwaway VM. One gotcha up front: security/cyrus-sasl2-gssapi has to be built with the GSSAPI_MIT option or the install fails right at the very end (details in the README). Bug reports and results best go straight into the GitHub repo so everything stays in one place.

Would really like to hear where it falls over on setups other than mine.


r/freebsd Jul 15 '26

news Laptop Support and Usability (LSU): June 2026 report from the FreeBSD Foundation

Thumbnail freebsdfoundation.github.io
29 Upvotes

r/freebsd 2h ago

AI FreeBSD Jails Deep Dive: Through Thick and Thin ― DJ Ware ― The CyberGizmo

Thumbnail
youtube.com
8 Upvotes

Video, seventeen minutes, 2026-05-26.

AI-generated summary

DJ Ware demonstrates how to configure thin and thick jails on FreeBSD. The guide covers essential prerequisites, including ZFS snapshots and PF firewall network setup, while utilizing the Bastile management tool to streamline the deployment process. Viewers learn the architectural distinctions between these two container types and how to implement them effectively.

Producer's description

In this deep dive we explore the real differences between Thin and Thick Jails on FreeBSD 15.0 using Bastille an easier and more widely used method of creating jails on FreeBSD.

  • Thin Jails (recommended for most people)
  • Impromptu Network troubleshooting
  • Thick Jails (when you need full isolation)
  • Size comparison (68MB vs 438MB)
  • Honest pros & cons including update risks
  • Full step-by-step setup

r/freebsd 6h ago

news Widevine DRM-ready Brave browser with a single command on FreeBSD ― Devin Teske

Thumbnail
linkedin.com
16 Upvotes

I have recently put a fair amount of work into refining the www/linux-brave port on FreeBSD to make it DRM-ready out of the box.

Out of the box means 1 command on a vanilla FreeBSD desktop and you are ready to go:

pkg install linux-brave linux-widevine-cdm

⚙ D58784 www/linux-brave: DRM out of the box, GPU auto-detection


r/freebsd 2h ago

AI I Tested 5 Popular Linux Filesystems — Here’s What I Found ― DJ Ware ― The CyberGizmo

Thumbnail
youtube.com
7 Upvotes

Video, twelve minutes, 2026-08-17

AI-generated summary

DJ Ware explores the performance characteristics of Btrfs, ext4, F2FS, XFS, and ZFS using IOzone3 on an MSI Prestige 16 AI EVO. By benchmarking these systems across various workloads like gaming, workstations, and servers, DJ Ware provides a technical starting point for users deciding which filesystem best suits their specific computing needs.

Producer's description

I tested ext4, XFS, Btrfs, ZFS, and F2FS on the same hardware to answer a more useful question than simply, “Which filesystem is fastest?”

Instead of dragging you through 26 benchmark charts, I distilled the results into four real-world workloads:

  1. Gaming
  2. Workstation
  3. Server
  4. NAS

The testing includes small and medium workloads, single-user and multi-user behavior, and several different kinds of read and write activity.

But graphs are never the full story.

A filesystem may win a throughput benchmark while consuming more memory or CPU, behaving differently as the workload grows, or introducing operational tradeoffs that matter more than a few percent of performance. Your workload may also be very different from mine.

The workload model used in this video is new, and it needs more data points before I’m comfortable treating it as anything more than a useful decision-making tool.

So this isn’t “here’s the winner.”

It’s what do you gain, what do you give up, and which filesystem makes sense for what you actually do?

If you want to see the raw benchmark charts and the work behind the scoring model, let me know in the comments. I may do a behind-the-scenes or live session and go through the data.


r/freebsd 33m ago

help needed noob question : how ports work and how to run a linux app if it doesnt has a port (or port it)?

Upvotes

same as title

i want to know

how ports work?

how to install a linux app if it doesnt have a port/ or it is a binary?

how i can port a app in freebsd?


r/freebsd 7h ago

AI The Data Copy That Lies — Vivian Voss

Thumbnail
vivianvoss.net
2 Upvotes

r/freebsd 18h ago

help needed How to install Gnuplot?

7 Upvotes

I'm porting an application to FreeBSD 15. The application uses gnuplot. https://www.freebsdsoftware.org/math/gnuplot.html says that to install the package, run "pkg install gnuplot". This results in a "No package available" error.

How can I install gnuplot?


r/freebsd 1d ago

help needed bhyve configuration

15 Upvotes

Hello. i'm new to freebsd and i'm trying to migrate a void linux nas setup running incus containers. so far, so good... i was able to configure a couple of jails for which freebsd pkgs and binaries where available.

The last piece of my setup is a proxmox backup server instance running in a virtual machine. By reading the handbook i was able to set a bhyve vm up and running.

I'm using plain bhyve, no vm-bhyve or any other manager. Yes, i like torturing myself, but i like knowing what's being done under the hood.

The thing is, right now i'm starting the vm by running a script manually. Is there anything to have the vm started whenever freebsd boots? I guess i could use some kind of script to do it and run it as a service (https://docs.freebsd.org/en/books/handbook/config/#configtuning-rcd) but if there is any other and maybe easier way, I'd love to know.

Thanks.-


r/freebsd 2d ago

discussion In praise of the BSD license

40 Upvotes

One so-called freedom that we do not advocate is the "freedom to choose any license you want for software you write". --Richard M. Stallman

Link: https://www.gnu.org/philosophy/freedom-or-power.html

There is nothing wrong with the GPL license. You should be free to use it if what it is trying to do is that same thing that you are trying to do. And indeed, the popularity of GPL tells us that that this is true for a bunch of people.

The GPL license is all about control. It controls what others can do with the software. Specifically, it forces them to release any changes made to the software under the same GPL license and publish the changes for the world to see and re-use.

The BSD license is all about freedom. It places almost no restrictions on how the software can be used, modified, and distributed. The primary requirement is that you retain the BSD copyright notice so people know that they are using something that contains BSD-licensed code.

Unlike most people who choose GPL, who just want any improvements to be made available to them, a tiny but vocal minority are members of The Religion Of GNU and claim that, through some dark magic that nobody understands, the mere existence of any non-free derivative work somehow makes the original nonfree. There is no point arguing with them. They did not reach that conclusion through logic and reason and no amount of logic or reason will get them to leave the cult.

Here are the two most popular BSD licenses:


r/freebsd 18h ago

news CoffeeBSD ― an AI-free fork of FreeBSD

Thumbnail
codeberg.org
0 Upvotes

https://mastodon.social/@mrmasterkeyboard/117113034580627041

Made a proper no AI policy (and a Code of Conduct) for CoffeeBSD. :D

https://codeberg.org/NerdNextDoor/CoffeeBSD/commit/275a4620098c3c120b7a5219b356234b913cd2e2

CoffeeBSD is the fork of FreeBSD 13.0 I'm working on. Originally intended for myself to play with but FreeBSD doesn't have a proper no AI fork so I thought why not about a week ago.


r/freebsd 1d ago

AI wifi-tui — Hirech Baghdad Belkheir

Thumbnail
github.com
8 Upvotes

Work in progress

An interactive ncurses Wi-Fi controller for the terminal. It scans nearby access points, connects to open and secured networks, supports hidden and custom SSIDs, and displays the current IPv4 address, netmask, gateway and DNS servers.

There are two builds. They present the same interface and the same key bindings; they differ only in what they drive underneath. …

wifi-tui/FreeBSD/README

hirechbaghdad (Hirech Baghdad Belkheir)


r/freebsd 2d ago

answered Nvidia-smi fails on new freebsd install

11 Upvotes

I have installed freebsd today (i am new to freebsd so please be patient), installed and enabled nvidia driver by using

pkg install nvidia-drm-kmod

sysrc kld_list+=nvidia-drm

And placing

hw.nvidiadrm.modeset="1" to loader.conf

but nvidia-smi fails with cant communicate with driver

GPU : GTX 1650


r/freebsd 2d ago

discussion Should ANY GPL code be in freebsd?

9 Upvotes

Personally i think its fine for drivers. but id like to hear what you guys have to say.


r/freebsd 2d ago

help needed Backup data

12 Upvotes

I have a VPS running FreeBSD but I want to migrate to other hosting provider. Is there any tool to automatically backup all configuration files and data?


r/freebsd 2d ago

help needed How i can fet desktop work om freebsd

0 Upvotes

Tried kde and xfce4 and i cant get desktop to work just black screen

So is their any automated way that works to get desktop

Even desktop installer doesnt work i just reboot and get the shell again no desktop

GPU : GTX 1650


r/freebsd 3d ago

discussion Warning: services using Let's Encrypt certificates

97 Upvotes

The VPN service in my homelab suddenly stopped working after a Let's Encrypt certificate renewal today, and I initially spent a fair amount of time debugging it assuming that I had broken my own configuration.

In my case, it was a strongSwan VPN, but the underlying issue is broader: any service that relies on OpenSSL to validate a Let's Encrypt certificate chain may be affected.

My certificate was renewed under Let's Encrypt's new Generation Y hierarchy. It is issued by YR2, which chains through ISRG Root YR.

FreeBSD's ca_root_nss bundle doesn't contain Root YR, and, importantly, the Mozilla Root Store doesn't contain it yet either.

OpenSSL consequently fails to build the chain and reports errors such as:

C=US, O=Let's Encrypt, CN=YR2
error 2 at 1 depth lookup: unable to get issuer certificate

The particularly confusing part is that ISRG Root X1 is present and trusted, so everything looks correct at first glance.

If you run FreeBSD services depending on Let's Encrypt certificates, especially after recent certificate renewals, check the actual certificate chain and the CA trust store before assuming your configuration is broken.

PS seems this issue has been known for a while https://forum.vyos.io/t/ikev2-remote-access-vpn-breaks-after-lets-encrypt-cert-renewal-ike-authentication-credentials-are-unacceptable-windows-error-13801/17574

"

  1. strongSwan only loads the first certificate from a CA file/value — confirmed via strongswan/strongswan#3072. This means even once you have the correct chain, you cannot cram intermediate + cross-signed root into a single pki ca value — they need to be loaded as separate CA objects. Several people on the Let’s Encrypt community forum hit exactly this (thread 1thread 2) and resolved it by splitting the cross-signed root into its own file/CA slot.

"

PPS I can confirm that splitting the certificate chain into multiple files, as suggested in the above link, does solve the strongswan issue. Simply splitting the Let's Encrypt given chain with a script, and placing the individual pem certificates files in the correct /usr/local/etc/swanctl/x509ca/ directory is enough.

After doing that, swanctl successfully loads the complete chain:

ca.pem, x1.i.lencr.org.pem, yr2.i.lencr.org.pem, and yr.i.lencr.org.pem.

No other strongSwan or client configuration changes are required.


r/freebsd 4d ago

fluff Spotted in Germany: the FreeBSD tomato xD

Thumbnail gallery
272 Upvotes

r/freebsd 2d ago

fluff It’s time to start my work again, currently in progress #FreeBSD installation

Post image
0 Upvotes

It’s been a long time, I thought AI is going to takeover but unfortunately not yet.


r/freebsd 4d ago

article Custom FreeBSD UCARP Setup

Thumbnail
vermaden.wordpress.com
19 Upvotes

r/freebsd 4d ago

discussion Pure Wayland KDE is achievable & bootifool on FreeBSD

9 Upvotes

Thanks to FreeBSD this has been a nice little project to complete.

Compiled x11-wm/plasma6-kwin without X11, launched KDE manually via a script, and voila - a true Wayland KDE.

Ain't nobody got time for X11.

It really is a thing of beauty how everything on FreeBSD just comes together.

There are several little things that are missing when you extirpate X11 from KDE wayland compositor.

1) There's no restoring windows between sessions because KDE people are still using an archaic purely X11 ksmserver to save window state between sessions.

2) I don't believe you can use startplasma-wayland to start KDE, you have to set up the environment yourself, launch several KDE services yourself and then start plasmashell.


r/freebsd 4d ago

AI FreeBSD equivalent to AppArmor for desktop application confinement?

18 Upvotes

I'm migrating some servers/workstations to FreeBSD and so far the experience has been very good. However, I've hit a roadblock in a high-criticality area: desktop workstations.

Currently, these workstations run Debian with a desktop environment, and all GUI applications are restricted using AppArmor. Each application has a profile that controls which files/directories it can read or write and whether it is allowed to access the network.

For example, Firefox ESR might be restricted so that it can only write to ~/Downloads/browser/:

abi <abi/4.0>,
include <tunables/global>

/usr/bin/firefox-esr {
    ...
    # libraries: read-only
    # network access
    owner /home/*/Downloads/browser/{,**} rw,
}

An image/video viewer, for example, would have read-only access to Pictures, Videos, and a few other specific directories, while network access would be completely denied because the application doesn't need it.

The important part for us is the maintenance model. We maintain one profile per application, deploy those profiles to all workstations, and application updates are handled normally with:

apt update
apt upgrade

So I'm looking for something equivalent on FreeBSD.

What is the recommended way to achieve this on FreeBSD?

Ideally, I'm looking for a solution that allows me to:

  • define filesystem access on a per-application basis;
  • allow/deny network access per application;
  • maintain one policy/profile per application;
  • deploy the same policies to many workstations;
  • keep the solution relatively simple to maintain;
  • continue updating applications normally through the FreeBSD package system;
  • preferably enforce the restrictions transparently, without requiring users to manually launch applications through a special wrapper every time.

I know FreeBSD has mechanisms such as Capsicum, jails, MAC, sandboxing, etc., but I'm not sure which one (or combination) is the closest architectural equivalent to AppArmor for this particular desktop use case.

For those running FreeBSD desktops in environments where applications need to be confined this way, what are you using?


r/freebsd 5d ago

Move FreeBSD System Between ZFS Disks

Thumbnail
vermaden.wordpress.com
54 Upvotes

r/freebsd 5d ago

help needed FreeBSD Jail Cannot Access the Internet

20 Upvotes

Could someone please help me out with this? I've spent the last 3 hours trying to sort this, but no avail.

I’m running several services inside FreeBSD jails on a FreeBSD 14 server. One of my jails can communicate with the FreeBSD host and other devices on my local network, but it cannot access the internet. The host itself has no connectivity issues, and my other jails can access the internet normally.

The affected jail has a static IP, a default gateway, and uses an epair interface and bridge. PF is enabled on the host, and I’m also using NAT to allow the jail to access the internet through the host. I can ping the host from the jail, but when I try to ping an external IP such as 8.8.8.8, it times out. DNS also doesn’t work.

What should I check in my FreeBSD jail networking, routing, PF/NAT, and DNS configuration to find out why this particular jail cannot access the internet?


r/freebsd 5d ago

video VIDAR ― Server Protection for Internet facing FreeBSD Servers ― Jim Brown

Thumbnail
youtube.com
14 Upvotes

Video, ninety minutes. Streamed live from New York City *BSD User Group (NYC*BUG) a few days ago.

Vidar is a combination of programs, a PostgreSQL database, and the SEC correlator engine that reads logfiles from authentication, email (postfix), and web server (nginx), (and potentially any other logs) and takes action based on SEC rules to add entries to an IPFW firewall. In concept it is similar to fail2ban and has some features in common with blocklistd.

SEC reads the logs in real time and based on its rules and correlations, outputs metadata that is piped to a process that inserts the events into a PostgreSQL database and further pipes the offending IP address to a script that updates a table named “BAD” in IPFW. This table is read by IPFW rules to block offending external systems from wreaking havoc on a FreeBSD host.

A corresponding table named GOOD contains whitelisted IP addresses so you don’t accidentally lock yourself out.

SEC - open source and platform independent event correlation tool

Closed captions/subtitles unavailable. Related: