A free, multi-platform 4.4BSD-based UNIX-like operating system
open sourcemany open source licences, one per packageself-hostablefree
OpenBSD is a free, multi-platform Unix-like operating system based on 4.4BSD, developed by volunteers with a focus on portability, standardization, correctness, proactive security and integrated cryptography. Several widely used projects started in it: the PF packet filter (OpenBSD 3.0, 2001), OpenSSH (first released with OpenBSD 2.6), LibreSSL (forked from OpenSSL in 2014), and OpenBGPD, OpenSMTPD, OpenNTPD, OpenIKED and rpki-client. It introduced or was first to enable by default mitigations such as W^X, address space layout randomization and privilege separation, and gives programs the pledge(2) and unveil(2) sandboxing calls. A release comes out every six months, and only the two most recent receive security and reliability fixes; 8.0, the 61st release, came out on 20 October 2026. The project prefers the ISC licence for new code and keeps GPL code out of new base-system work.
Problems it solves
- a secure-by-default Unix operating system for an internet-facing server
- build a firewall and router on a BSD with a packet filter whose rules are easy to read
- two firewalls that fail over to each other with a shared IP address on free software
- a BGP router on commodity hardware with an open source routing daemon in the base OS
- run a mail server, web server and load balancer using only what ships with the operating system
- restrict what a program can do and which files it can see with a simple sandboxing API
- a hardened operating system for a VPN gateway with IPsec and IKEv2 built in
- a small, carefully documented Unix with excellent man pages to learn on
- a security-focused alternative to Linux for a router or firewall with a permissive licence
- an operating system that still supports unusual hardware such as SPARC64, Alpha, PA-RISC or an OMRON LUNA-88K
- run virtual machines on a BSD host with a hypervisor in the base system
- an OS whose developers audit code proactively and fix security bugs before they're exploited
- a predictable operating system with a new release every six months and simple upgrades
Features
- PF packet filter, OpenBSD's own firewall (since OpenBSD 3.0)
- home of OpenSSH, first released with OpenBSD 2.6
- LibreSSL, a fork of OpenSSL begun in 2014 (OpenBSD 8.0 ships LibreSSL 4.4.0 and OpenSSH 10.6)
- pledge(2) and unveil(2) system calls for restricting what a program can do and see
- W^X strictly enforced by default since OpenBSD 6.0; ASLR by default since 3.4
- privilege separation, first implemented in OpenSSH
- carp(4) for redundant addresses and firewall failover
- OpenBGPD, relayd(8) load balancing, httpd(8) web server, OpenSMTPD, OpenNTPD and OpenIKED in the base system
- doas(1) for running commands as another user
- vmm(4)/vmd(8) hypervisor, with up to 64 virtual CPUs per guest from 8.0
View 3 more
- binary packages installed with pkg_add (13,060 for amd64 in 8.0)
- releases every six months; errata patches for the two most recent releases
- 13 supported hardware platforms, including amd64, arm64, riscv64 and sparc64
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what OpenBSD does.