BawdyAnarchist/quBSD

A FreeBSD jails and bhyve wrapper, which implements a Qubes inspired containerization schema

Shell

214

1,563 commits

updated Sep 12, 2026

See the code

README

quBSD is a FreeBSD jails/bhyve wrapper which implements a Qubes inspired containerization schema. Written in shell, based on zfs, and uses the underlying FreeBSD tools.


Note final overhaul being conducted now, implementing a comprehensive shell framework. This will bring the project to a production ready status, and then be added to ports.


Summary of Default Features:

X11 GUI Jails, with X11-Xephyr compartmentalization. Network gateway jails/VMs for NIC, firewall, VPNs, and Tor. Disposable/ephemeral jails/VMs. Automatic rolling zfs snapshots, with thinning. Streamlined configuration/editing:

  • resource constraint (memory, CPU)
  • filesystem protections (chflags schg, secure level)
  • gateway changes
  • autostart, automatic snapshots
  • create/destroy/rename/edit/list

Security Schema

Rootjails maintain a pristine root environment for launching appjails.
Appjails clone a designated rootjail at every start, destroyed at shutdown.
  - Persistent /home directory lives in a separate zfs dataset
  - Jail specific persistent system files (rc.conf, pwd.db, pf.conf, etc)
Dispjails have no persistent data. Completely destroyed at jail shutdown.
Ephemeral jails clone the exact state of a running jail.
  - Open untrusted files/attachments
  - Test experimental operations on a clone, before performing in appjail
RootVMs maintain a pristine root environment on which to base appVMs.
AppVMs clone a designated rootVM same as appjail, with persistent /home.
DispVMs No persistent data. Completely destroyed upon VM shutdown.


Host heavily firewalled except for NTP and updates Physical network card and USBs are isolated in VMs (nicvm and usbvm)

Additional Features

i3wm integration (still usable with other window managers)

Contributors

BawdyAnarchist

1,561 commits

sausagenoods

2 commits

BawdyAnarchist/quBSD

A FreeBSD jails and bhyve wrapper, which implements a Qubes inspired containerization schema

Shell

214

1,563 commits

updated Sep 12, 2026

See the code

README

quBSD is a FreeBSD jails/bhyve wrapper which implements a Qubes inspired containerization schema. Written in shell, based on zfs, and uses the underlying FreeBSD tools.


Note final overhaul being conducted now, implementing a comprehensive shell framework. This will bring the project to a production ready status, and then be added to ports.


Summary of Default Features:

X11 GUI Jails, with X11-Xephyr compartmentalization. Network gateway jails/VMs for NIC, firewall, VPNs, and Tor. Disposable/ephemeral jails/VMs. Automatic rolling zfs snapshots, with thinning. Streamlined configuration/editing:

  • resource constraint (memory, CPU)
  • filesystem protections (chflags schg, secure level)
  • gateway changes
  • autostart, automatic snapshots
  • create/destroy/rename/edit/list

Security Schema

Rootjails maintain a pristine root environment for launching appjails.
Appjails clone a designated rootjail at every start, destroyed at shutdown.
  - Persistent /home directory lives in a separate zfs dataset
  - Jail specific persistent system files (rc.conf, pwd.db, pf.conf, etc)
Dispjails have no persistent data. Completely destroyed at jail shutdown.
Ephemeral jails clone the exact state of a running jail.
  - Open untrusted files/attachments
  - Test experimental operations on a clone, before performing in appjail
RootVMs maintain a pristine root environment on which to base appVMs.
AppVMs clone a designated rootVM same as appjail, with persistent /home.
DispVMs No persistent data. Completely destroyed upon VM shutdown.


Host heavily firewalled except for NTP and updates Physical network card and USBs are isolated in VMs (nicvm and usbvm)

Additional Features

i3wm integration (still usable with other window managers)

Contributors

BawdyAnarchist

1,561 commits

sausagenoods

2 commits

Languages

Shell

82.0%

C

10.9%

Vim Script

7.1%