OPNsense Integration

A compliant captive portal with OPNsense

Add a branded guest login to your existing OPNsense firewall. SMS verification, RADIUS authentication and legal logging — live in four steps.

How it works

1. Design your portal

Pick your logo, colors and login method (SMS, voucher, hotel) from the panel.

2. Get RADIUS details

Copy the Captivo RADIUS server details to enter in OPNsense from the panel.

3. Connect to OPNsense

Define Captivo as the authentication source in OPNsense Captive Portal; guest logins are delivered directly.

4. Go live

When a guest connects, your branded portal opens, verifies and lets them online — records are kept for compliance.

Setup settings

Requirements
OPNsense 23.1+ and a LAN/WLAN interface carrying the guest traffic.
RADIUS server
System → Access → Servers: the Captivo RADIUS address, the shared secret from your dashboard, and authentication port 1812.
Zone authentication
Select that RADIUS server under Authentication in the Captive Portal zone settings, and add the same device in Captivo as a NAS client (IP + the same shared secret).
Allowed addresses
Open the addresses the portal must reach before a guest is verified.
Template
Download the package from Settings → Portal → Templates → OPNsense, upload it in OPNsense under Services → Captive Portal → Administration → Templates, then select it as the Template in the zone.

Do not put the RADIUS server address in the allowed addresses. That is RADIUS traffic between the box and the server (UDP 1812/1813), not the guest's web traffic.

Two common issues

The portal opens but the logo and verification do not load — the addresses the portal must reach are missing from the allowed list.

The template does not appear — after uploading the package it was not selected as the Template in the zone settings.

Step-by-step setup walkthrough on our blog

Official step-by-step setup documentation

Why Captivo + OPNsense?

  • Branded login via OPNsense Captive Portal's Template manager
  • Per-zone RADIUS auth — separate portals for multiple networks/SSIDs
  • Per-guest speed/bandwidth limits with Traffic Shaper
  • SMS, voucher and hotel (room-no) login; compliant, timestamped logging

Frequently Asked Questions

How does Captivo work with OPNsense?
In Captivo you design your branded portal and configure OPNsense Captive Portal to authenticate against the Captivo RADIUS server. The guest logs in by phone/voucher; verification happens via OPNsense and they go online.
Is there a difference between the pfSense and OPNsense integrations?
The guest experience and features are identical (SMS, voucher, hotel login, compliant logging). The difference is how the login page connects: OPNsense uses a live portal flow. Both firewalls are supported by Captivo.
What does setup involve?
Four steps: design the portal in the panel, download the ready template, upload it to OPNsense Captive Portal, and enter the RADIUS details. How long it takes depends on your access to OPNsense.
READY?

Add a guest portal to your OPNsense

Try the branded, compliant captive portal — free.