Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
How to use freeradius as radius server for the captive portal?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to use freeradius as radius server for the captive portal? (Read 7456 times)
sens_ible
Newbie
Posts: 22
Karma: 0
How to use freeradius as radius server for the captive portal?
«
on:
October 19, 2017, 08:26:44 pm »
I have installed the freeradius plugin and so far it is working fine. I can access the radius server from devices in my LAN and have them authenticated.
Now I want to setup a captive portal and want the captive portal to use the internal radius server for authentication.
So I created an internal radius server in System/Access/Servers and gave it the address 127.0.0.1 for the local host.
Afterwards, I have said internal radius server available in:
"Captive Portal"/"Edit Zone"/"Authenticate using"
However, the internal radius server does not do what I want. When I do a test in System/Access/Testers I do not get a reply.
How do I have to set up an internal radius server in System/Access/Servers so that I can use the freeradius server which is already installed?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: How to use freeradius as radius server for the captive portal?
«
Reply #1 on:
October 19, 2017, 09:00:35 pm »
Have you setup localhost as client in Freeradius?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How to use freeradius as radius server for the captive portal?
«
Reply #2 on:
October 19, 2017, 09:09:21 pm »
Yes, set up a client:
Enable: [ x ]
Name: xxx
Secret: yyy
IP: 127.0.0.1/8
Hit save, then apply.
Works like a charm, just tested this.
Cheers,
Franco
Logged
Makku71
Newbie
Posts: 3
Karma: 0
Re: How to use freeradius as radius server for the captive portal?
«
Reply #3 on:
November 27, 2017, 01:22:15 pm »
Hi both,
I had the similar problem with a all new installation from USB-Stick, upgrading to 17.7.8 and then starting Radius.
It did not. Had to delete manually and reinstall - now it works. But I don't know why?
Markus
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: How to use freeradius as radius server for the captive portal?
«
Reply #4 on:
November 30, 2017, 03:24:09 pm »
Don't know either without the log messages.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
How to use freeradius as radius server for the captive portal?