Router management for FreeBSD

pebble.

Your router, in one YAML file.

Pebble turns a small FreeBSD machine into a router. You describe the network in pebble.yaml, check the plan of what will change, and apply it. The routing, firewall and DNS are done by FreeBSD's own tools.

Version
0.3.0
Runs on
FreeBSD 15.1
Recently added
Device DNA
Pebble web management overview with interface, service and traffic information
The web overview. The guide's screenshots use made-up router data, not a real network.

What it does

Plan before you apply

Pebble shows the generated files and exactly what will change before anything touches the network.

Firewall, DNS and DHCP

PF firewall and NAT, Unbound DNS with DNSSEC and optional blocklists, and DHCP. The WAN can be DHCP, static or PPPoE, with IPv6 through DHCPv6 prefix delegation behind the same default-deny firewall.

Rollback if you lose access

Changes that could cut you off need confirming. If you don't confirm, Pebble rolls them back.

Status and diagnostics

Traffic, WireGuard, service status and diagnostics, plus an optional web interface that is kept deliberately simple.

Per-device Internet

Send each device out through the WAN, a VPN exit such as ProtonVPN or Mullvad, or block it. VPN devices get a kill switch and no DNS leaks.

Device DNA

Pebble learns what each device usually does and tells you, by email or phone notification, when one starts behaving unlike itself.

How a change goes in

1

Edit pebble.yaml

Describe the interfaces, firewall and services you want.

2

Read the plan

See the generated files and the differences.

3

Apply

Disruptive changes start a rollback timer.

4

Confirm

Once you can still reach everything, keep the change.

A smoke alarm, not a sprinkler

Device DNA learns each device's normal traffic, hours, destinations and ports from what the router already sees. When a printer starts sending gigabytes at 3 a.m., it opens an incident showing what happened against what's usual. It reads no packet contents, keeps everything on the router, and never blocks anything: what to do is your call.

Pebble user guide (PDF)
Pebble Device DNA incident comparing a laptop's data sent with its usual range, with actions to acknowledge or resolve it
A Device DNA incident: what was observed against what's usual for that device. (Simulated router.)
apex.

Next: A fast native text editor with multiple cursors, Git and Vim mode built in. No plugins, no account.