---
title: "OpenBSD VPS: OpenBSD 7.8 with pf and httpd | CloudSat"
description: "OpenBSD VPS with OpenBSD 7.8: secure defaults, pledge and unveil, plus pf, httpd, relayd, OpenSMTPD and WireGuard built in. Root SSH, patched by syspatch."
url: https://cloudsat.io/os/openbsd
updated: 2026-11-18T21:28:02Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# OpenBSD VPS: firewall, web, VPN. Mail too, all in the base install.

**OpenBSD 7.8** on KVM with root SSH. pf, httpd, relayd, OpenSMTPD and WireGuard come with the system, documented in man pages and patched by `syspatch`.

[Deploy an OpenBSD server](https://dash.cloudsat.io/console/deploy?image=openbsd-7&plan=cloud-4g)

From $1.98/mo 14-day money-back Pay in crypto

OpenBSD at a glance

**OpenBSD** is a BSD system that puts correctness and secure defaults first: few services run after install, daemons drop privileges, and base programs restrict themselves with **pledge** and **unveil**. CloudSat offers **OpenBSD 7.8** with **root** login over SSH; it needs **1 GB** of memory, so servers cost $2.78 a month and up. The base install already contains **pf**, **httpd**, **relayd**, **OpenSMTPD**, **unbound**, **nsd** and kernel **WireGuard**, each with a man page that matches the code. It fits gateways, VPN endpoints, mail relays and small web servers.

- **Starting price**: $1.98 / month
- **Deploy time**: Under 5 minutes
- **Regions**: 13 worldwide
- **Uplink**: 40 Gbps
- **Uptime SLA**: 99.95%
- **Money-back**: 14 days

## OpenBSD has less to configure, and less to go wrong.

Design choices that keep an OpenBSD server quiet.

### Defaults worth keeping

A fresh install exposes SSH and little else. W^X, ASLR, stack protection and a randomly relinked kernel are on from the start, with no hardening guide to follow.

### pledge and unveil

Base daemons declare the system calls and paths they need. Break the pledge and the kernel kills the process; files outside the unveil list simply do not exist for it.

### Documentation that matches

Each config file has a man page kept in step with the code, `pf.conf(5)` or `httpd.conf(5)` for example, and each release ships an upgrade guide covering every manual step.

### Updates in three commands

`syspatch` installs signed binary fixes for the base system, `pkg_add -u` updates packages, and `sysupgrade` moves the server to the next release, which arrives about every six months.

## The OpenBSD 7.8 base system: daemons and their config files.

Daemons that ship with OpenBSD and where each one is configured.

| Job | Base tool | Configuration |
| --- | --- | --- |
| Firewall and NAT | pf | `/etc/pf.conf` |
| Web server | httpd | `/etc/httpd.conf` |
| Proxy and load balancing | relayd | `/etc/relayd.conf` |
| Mail | OpenSMTPD | `/etc/mail/smtpd.conf` |
| DNS resolver | unbound | `/var/unbound/etc/unbound.conf` |
| VPN | WireGuard, iked | `/etc/hostname.wg0`, `/etc/iked.conf` |

Enable any of them with `rcctl enable`, and test a config first with `httpd -n`, `relayd -n` or `smtpd -n`.

`doas` stands in for sudo: one line in `/etc/doas.conf`, such as `permit persist :wheel`, gives your admin user root rights.

## Edge boxes on OpenBSD: VPN, mail relay, DNS, bastion.

Where a small, well-documented system beats a big one.

### Front door for a fleet

Terminate public traffic on OpenBSD and pass it to backends over WireGuard with pf and relayd. A ruleset for a handful of services fits on one screen.

### VPN endpoint

Configure WireGuard in `/etc/hostname.wg0`, or offer IKEv2 through iked to clients that expect IPsec. A static IPv4 is easy to allowlist at the other end.

### Mail relay

OpenSMTPD's configuration is short and readable, and spamd adds greylisting. Set reverse DNS in the console first; on new accounts, port 25 may need a ticket under the [acceptable use policy](https://cloudsat.io/legal/acceptable-use).

### Static sites and small apps

httpd serves files and FastCGI apps from its `/var/www` chroot, and acme-client renews Let's Encrypt certificates from cron. PHP runs through php-fpm; Go binaries sit behind relayd.

### DNS servers

Run nsd as the authoritative server for your zones, or unbound as a validating resolver for your other machines. Both live in base, so `syspatch` covers their fixes.

### SSH bastion

OpenSSH comes from the OpenBSD project itself. Expose only port 22, keep keys and `doas` rules tight, and reach internal machines with `ssh -J` instead of exposing each one.

**< 5 min** Delivery, any server

**40 Gbps** Uplink

**NVMe** Storage only

**13** Regions

**99.95%** Uptime SLA

**14 days** Money-back

## OpenBSD VPS locations: 13 regions. Pick the one next to your users.

Every region runs the same hardware, the same images and the same prices. Deploy in one, add another whenever you need it.

[Salt Lake City SLC1](https://cloudsat.io/locations/utah) [Las Vegas LAS1](https://cloudsat.io/locations/las-vegas) [Los Angeles LAX1](https://cloudsat.io/locations/los-angeles) [Dallas DFW1](https://cloudsat.io/locations/dallas) [New York NYC1](https://cloudsat.io/locations/new-york) [Miami MIA1](https://cloudsat.io/locations/miami) [London LON1](https://cloudsat.io/locations/london) [Amsterdam AMS1](https://cloudsat.io/locations/amsterdam) [Frankfurt FRA1](https://cloudsat.io/locations/frankfurt) [Bern BRN1](https://cloudsat.io/locations/switzerland) [Dubai DXB1](https://cloudsat.io/locations/dubai) [Singapore SIN1](https://cloudsat.io/locations/singapore) [Sydney SYD1](https://cloudsat.io/locations/sydney) [Tokyo TYO1 soon](https://cloudsat.io/locations/japan)

## OpenBSD VPS plans and pricing. Pay only for what you use.

Hourly or monthly, or pay 3, 6 or 12 months up front and save up to 15%. Hourly servers never cost more than the monthly price.

[See all 10 plans](https://cloudsat.io/plans)

| Plan | Best for | Price | Included | Order |
| --- | --- | --- | --- | --- |
| Launch · 512 MB | Sandboxes and side projects | $1.98/mo | 1 vCPU @ EPYC, 20 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-512m&image=openbsd-7) |
| Orbit · 1 GB | Small sites and bots | $2.78/mo | 1 vCPU @ EPYC, 25 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-1g&image=openbsd-7) |
| Apogee · 2 GB | WordPress and APIs | $5.98/mo | 1 vCPU @ EPYC, 60 GB NVMe, 3 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-2g&image=openbsd-7) |
| Zenith · 4 GB (most popular) | Production apps | $11.58/mo | 2 vCPU @ EPYC, 120 GB NVMe, 5 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-4g&image=openbsd-7) |

## OpenBSD VPS questions, answered.

**How long is OpenBSD 7.8 patched?**

OpenBSD ships a release roughly every six months and fixes the two most recent ones, so each release gets errata for about a year. Run `syspatch` right after the first login, and run `sysupgrade` once the next release is out, well before support ends.

**What network throughput should I expect?**

Solid rather than record-setting. OpenBSD uses virtio network and disk drivers on KVM, and its network stack has gained multi-core processing over recent releases, but for very high packet rates FreeBSD or Linux still scale further. Choose OpenBSD for clarity and defaults, not for maximum packets per second.

**Which plan suits a VPN gateway?**

The 1 GB plan, with one vCPU and 1 TB of monthly transfer, handles a small office's WireGuard tunnel. Move to the 4 GB plan for two vCPUs and 5 TB when many peers share it. Encryption is CPU work, so vCPUs matter more than memory.

**How do I change pf rules without locking myself out?**

pf applies the last matching rule, so keep `pass in on egress proto tcp to port ssh` below your `block` line. Check syntax with `pfctl -nf /etc/pf.conf` before loading with `pfctl -f`. If you still lose SSH, support can attach the VNC console on request.

**Are packages patched between releases?**

Yes, on amd64: `pkg_add -u` picks up security fixes from the `packages-stable` tree between releases. Binary packages cover the usual server software, nginx, PostgreSQL, PHP, Python, Node.js and Go among them, and the ports tree, once fetched into `/usr/ports`, builds anything else with your own flags.

**What does sysupgrade actually do?**

It downloads the next release's install sets, verifies their signatures, then reboots into the installer and upgrades without questions. Afterwards, review changed config files with `sysmerge` and update packages with `pkg_add -u`. Take a console snapshot first, so a surprise is one restore away.

**How do I get a TLS certificate for httpd?**

Point the domain's A record at the server first. Describe the domain in `/etc/acme-client.conf`, serve `/.well-known/acme-challenge/` from `/acme` in `httpd.conf`, and run `acme-client -v example.com`. A daily cron line, `acme-client example.com && rcctl reload httpd`, renews it and reloads httpd only when the certificate changed.

**Can I test OpenBSD for a day and walk away?**

Yes. Hourly billing stops at the plan's monthly price, so a one-day test costs a few cents. Delete the server afterwards, or **Rebuild** it with another image, which wipes the disk. Unspent funds can come back under the [refund policy](https://cloudsat.io/refund-policy) for 14 days after the first payment.

## Related to OpenBSD VPS

- [FreeBSD VPS](https://cloudsat.io/os/freebsd): FreeBSD VPS running FreeBSD 15.0 or 14.3: OpenZFS, jails, pf and bhyve in the base system, pkg and ports for software, root SSH on NVMe storage.
- [MikroTik RouterOS](https://cloudsat.io/os/mikrotik-routeros): MikroTik CHR VPS on RouterOS 7: dedicated IPv4 and IPv6, admin over SSH or Winbox, and the free license level. Add a MikroTik key to lift the speed cap.
- [DDoS protection](https://cloudsat.io/ddos-protection): DDoS protected VPS: network-level filtering of volumetric floods on every CloudSat server at no extra cost, plus cloud firewalls, from $1.98/mo.
- [Dedicated IPv4](https://cloudsat.io/static-ip-vps): VPS with a dedicated static IPv4 and IPv6 that stays through reboots, rebuilds and resizes, with reverse DNS. From $1.98/mo in 13 regions, paid in crypto.
- [Network and latency test](https://cloudsat.io/network): VPS latency test: pick your city and estimate the round trip to each CloudSat region, then read how the network is built: 40 Gbps, IPv4, IPv6, DDoS.
- [Pricing](https://cloudsat.io/plans): VPS pricing for every CloudSat plan: Cloud VPS from $1.98/mo, High Frequency from $2.78, GPU from $405.08 and bare metal. Hourly or monthly.
