Self-host bettercap
v2.41.7Network recon and MITM toolkit for WiFi, BLE, HID, CAN-bus
docker run -it --privileged --net=host bettercap/bettercap -h- Stars
- 20 299
- Ports
- 8080 (Web UI server (ui.port)), 8081 (REST API server (api.rest.port))
bettercap/bettercapWhat is bettercap?
bettercap is a Go-based, extensible toolkit that unifies reconnaissance and offensive testing across many network types: 802.11 Wi-Fi, Bluetooth Low Energy gadgets, 2.4 GHz HID peripherals, automotive CAN buses and IPv4/IPv6 segments. It serves security research, red teaming and reverse-engineering work from one interactive command line. Its modules can deauthenticate Wi-Fi clients, capture WPA/WPA2/WPA3 handshakes and run the clientless PMKID attack; enumerate, read and write BLE characteristics; fly HID keystrokes over the air using DuckyScript; decode, inject and fuzz CAN frames from DBC definitions; and perform man-in-the-middle work by probing hosts and spoofing ARP, DNS, NDP or DHCPv6. Traffic can be intercepted through packet, TCP and HTTP/HTTPS proxies scripted in JavaScript, a sniffer harvests credentials (and can fuzz protocols), and a fast port scanner is built in. Drive it from the terminal or caplet scripts, or enable the REST API on port 8081 and the browser UI on port 8080. Pre-built binaries, Homebrew, go install and an Alpine-based Docker image cover Linux, macOS, Windows, BSD and Android, though hardware-hungry modules such as wifi.recon do not work in containers. The Ruby 1.x series is deprecated and archived.
bettercap alternatives
RaspAPOpen-source, self-hosted wireless router and access point web interface for Debian-based devices like the Raspberry Pi, adding VPN, ad blocking and DHCP control.CompareRaspAP with bettercap
ReconnerSelf-hosted bug-bounty platform for attack surface intelligence and verification-first DAST with continuous monitoring, asset discovery, and evidence-based findings.CompareReconner with bettercap
heplifyheplify is a self-hosted, open-source HEP capture agent for SIP, RTCP, DNS, Diameter and logs. Runs as a single binary on Linux, macOS, Windows with Docker.Compareheplify with bettercap
super📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network AccessComparesuper with bettercap
unifi-toolkitSelf-hosted, open-source toolkit for managing and monitoring UniFi networks with real-time dashboards, device tracking, threat monitoring, and firewall lockdowns.Compareunifi-toolkit with bettercap
Canary TokensSelf-hosted multi-protocol network honeypot simulating common services to detect attackers. Alerts via email, syslog, webhooks when threats are detected.CompareCanary Tokens with bettercap
beelzebubOpen-source, self-hosted deception runtime that turns SSH, HTTP, TCP, Telnet, MCP decoys into honeypots, configured via YAML rules, with LLM replies and Go plugins.Comparebeelzebub with bettercap
gatekeeperSelf-hosted DHCP/DNS server for home networks with web dashboard, Full Cone NAT, and zero-config setup.Comparegatekeeper with bettercap
Should you self-host bettercap?
bettercap scores 76/100 on selfhost.directory (how scoring works) and ranks #1 of 15 in Network Security. It has 20 299 GitHub stars, +159 in the last 30 days.
It shipped 2 stable releases in the past year. The latest, v2.41.7, came out on 11 May 2026. New versions land roughly every 5 months.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is opnsense (72/100, 4 803 stars). bettercap scores higher overall. See bettercap vs opnsense side by side.
More in Network Security
CacheGuard-OSSelf-hosted open-source UTM appliance OS turning x86/x64 machines into complete network security gateways with firewall, VPN, WAF, antivirus, and more.
cactusdcactusd is an open-source, self-hosted daemon that aggregates and serves domain/IP blocklists for DNS-based ad-blocking, updating every 12 hours with a built-in web UI.
circuitbreakerSelf-hosted, open-source firewall for Lightning nodes that limits in-flight HTLCs and applies per-peer rate limits to protect channel liquidity.
cloudflare-allowmeSelf-hosted open-source service that dynamically manages Cloudflare firewall IP allowlists via REST API for securing self-hosted apps.
CrowdSec Blocklist MirrorSelf-hosted, open-source HTTP blocklist mirror exposing CrowdSec decisions in multiple formats for network appliances.
defguardSelf-hosted WireGuard VPN platform bundling an identity provider, per-connection MFA, LDAP/AD sync and firewall ACLs; open-source AGPL core written in Rust.
dnscrypt-proxySelf-hosted, open-source DNS proxy for your machine or router: encrypts queries with DNSCrypt, DoH and ODoH, filters ads/malware, caches and balances resolvers.
docker-adguardMinimal, security-hardened Docker image for self-hosted AdGuard Home ad blocking. Runs rootless, distroless from scratch, with health checks and CVE scanning.
docker-ipsec-vpn-serverSelf-hosted IPsec VPN server in a ~19 MB Alpine Docker image with L2TP, Cisco IPsec and IKEv2, auto-generating credentials and client profiles.
endlessh-goendlessh-go is a self-hosted, open-source Go SSH tarpit that traps brute-force attackers while exporting Prometheus metrics for a Grafana dashboard.
FireHOLFireHOL is a self-hosted, open-source iptables firewall generator and traffic shaper for Linux with human-readable configs.
firewalldfirewalld is a self-hosted, open-source firewall daemon for Linux that manages IPv4/IPv6 rules through network zones and a D-Bus interface.


0 comments