# OpenBGPD

> Free implementation of BGP-4 that lets ordinary machines act as routers

Source: https://talira.ai/catalog/openbgpd-cd5n33en
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [networking / routing daemons](https://talira.ai/categories/networking/routing-daemons)
- Platforms: linux, cli[^4][^5]
- Licence: ISC[^2][^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free under a BSD-style licence.
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- Backed by: [The OpenBSD Project](https://talira.ai/orgs/openbsd.md)
- Funding: funded by donations[^6]

OpenBGPD is the [OpenBSD](https://talira.ai/catalog/openbsd-1kbtwmnq.md) project's BGP-4 daemon: it lets an ordinary machine exchange routes with other BGP speakers and keeps the kernel routing table in sync with what it learns. It follows OpenBSD's goals of security (strict input validation, bounded buffers, privilege separation), reliability, a lean feature set for the common cases and a configuration language that is powerful but easy to read. It supports route reflection, route servers at exchanges, 4-byte AS numbers, standard, extended and large communities, MPLS VPNs, ADD-PATH, Flowspec, graceful restart and shutdown, RPKI origin validation over RTR, draft ASPA verification and MRT dumps, with bgpctl to control the running daemon. It ships with OpenBSD, and the portable version builds it for Linux distributions, [FreeBSD](https://talira.ai/catalog/freebsd-d628b1cm.md) and [NetBSD](https://talira.ai/catalog/netbsd-rbkr0d2d.md); it's ISC-licensed.

## Links

- Website: https://www.openbgpd.org/
- GitHub: https://github.com/openbgpd/openbgpd-portable
- Docs: https://www.openbgpd.org/manual.html

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/openbgpd>[^1]

## Problems it solves

- a BGP daemon whose configuration file I can read and understand at a glance
- connect our network to two ISPs with BGP from a Linux or OpenBSD box
- run an internet exchange route server that follows RFC 7947
- drop RPKI-invalid BGP routes using data from a validator over RTR
- a privilege-separated BGP daemon hardened against malformed updates from peers
- tag and filter routes from our BGP peers with large communities
- reflect BGP routes between our iBGP routers instead of a full mesh
- verify AS paths against ASPA records to catch BGP route leaks
- send Flowspec rules over BGP to filter attack traffic
- gracefully shut down a BGP session before maintenance so traffic moves first

## Features

- BGP-4 (RFC 4271) with 4-octet AS numbers and capabilities
- keeps the kernel routing table in sync with the RIB
- route reflection and route server (RFC 7947)
- standard, extended and large communities
- MP-BGP, IPv6 and IPv4 NLRI with IPv6 next hop
- MPLS VPN (RFC 4364)
- ADD-PATH and Flowspec for IPv4 and IPv6
- graceful restart, graceful and administrative shutdown, route refresh
- RPKI origin validation, RTR protocol and draft ASPA verification
- route leak prevention with BGP roles (RFC 9234)
- MRT dumps, TCP MD5 and GTSM
- privilege separation
- bgpctl control utility

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by The OpenBSD Project
- funding: funded by donations

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [BIRD](https://talira.ai/catalog/bird-3twzfbsh.md): BIRD Internet Routing Daemon: BGP, OSPF, RIP and Babel with a powerful route filtering language
- [GoBGP](https://talira.ai/catalog/gobgp-bh743gxs.md): BGP implemented in the Go Programming Language
- [FRRouting](https://talira.ai/catalog/frrouting-v2d7m7mq.md): Free and open source Internet routing protocol suite for Linux and Unix platforms
- [ExaBGP](https://talira.ai/catalog/exabgp-4yzh96jp.md): The BGP swiss army knife of networking

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^2]: https://www.openbgpd.org/ (checked 20 Nov 2026)
[^3]: https://github.com/openbgpd/openbgpd-portable/blob/master/LICENSE (checked 20 Nov 2026)
[^4]: https://www.openbgpd.org/ftp.html (checked 20 Nov 2026)
[^5]: https://github.com/openbgpd/openbgpd-portable (checked 20 Nov 2026)
[^6]: https://www.openbsdfoundation.org/ (checked 20 Nov 2026)
