OPNsense
This guide explains how to configure OPNsense open-source firewall captive portal to work with IronWifi for RADIUS-based user authentication and WiFi access control.
Prerequisites
In IronWifi Console (complete these first):
- Create a Network in IronWifi Console
- Create a Captive Portal with the appropriate vendor
- Note your RADIUS settings and Splash Page URL
In OPNsense:
- Administrative access to OPNsense device
- Network connectivity to IronWifi RADIUS servers
Device Configuration
RADIUS Settings
Configure your device with:
| Setting | Value |
|---|---|
| Primary Server | {Primary IP from IronWifi} |
| Auth Port | 1812 |
| Acct Port | 1813 |
| Shared Secret | {Your shared secret} |
Captive Portal
- Enable external captive portal
- Set splash page URL from IronWifi
- Configure walled garden to include
107.178.250.42
Walled Garden
Add these entries for pre-authentication access:
Required for IronWifi:
107.178.250.42(IronWifi splash page)- DNS servers
Authentication Provider Domains:
If using social login providers, add the following domains to your walled garden:
| Provider | Required Entries |
|---|---|
*.google.com, *.googleapis.com, *.gstatic.com, accounts.google.com | |
*.facebook.com, *.fbcdn.net, connect.facebook.net, facebook.com | |
*.twitter.com, *.twimg.com, twitter.com | |
*.linkedin.com, *.licdn.com | |
| Microsoft | *.microsoft.com, *.microsoftonline.com, *.live.com, login.live.com |
WPA-Enterprise
For 802.1X authentication:
- Set security to WPA2-Enterprise
- Configure RADIUS server details
- Test with a known user
Troubleshooting
| Issue | Possible Cause | Solution |
|---|---|---|
| Portal not appearing | Walled garden misconfigured | Check walled garden includes 107.178.250.42 and splash URL is correct |
| Authentication failing | RADIUS settings incorrect | Verify RADIUS IP, ports, and shared secret match IronWifi Console |
| No internet after auth | Firewall or VLAN issue | Check firewall rules and VLAN settings |
Getting Help
For device-specific questions:
- Check manufacturer documentation
- Contact IronWifi support at support@ironwifi.com