Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] FreeRADIUS?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] FreeRADIUS? (Read 10238 times)
JoeT
Newbie
Posts: 9
Karma: 4
[SOLVED] FreeRADIUS?
«
on:
September 01, 2015, 09:06:27 pm »
Hello all. Firstly let me say THANKS to all involved with, and for, this project. It was so very easy to install via USB with two NICs and get up and running. I come from Linux, having never used BSD.
I was hoping to get FreeRADIUS installed on my OPNSense server, but I can't figure it out. In the forum here I see it's been suggested as a future TODO item as a plug-in and whatnot. Is there a way to just install the current package for BSD? I apologize for the newbie question, but as I said, this is my first experience with BSD. I have had a working FreeRADIUS setup running on Linux beforehand, but I reloaded that machine with OPNSense. So I personally don't need the GUI settings, I just need to be able to get the package installed.
I tried "pkg install freeradius" to no avail. I did note on a forum message from a few days ago that someone mentioned the package may need to be made available, possibly in the repository? Can this be done?
https://forum.opnsense.org/index.php?topic=1312.msg3753#msg3753
I didn't just want to go and do the make from source deal as I assume someone has already done the legwork for this version of BSD and has patches and whatnot that I may miss.
For the record I'm using 15.7 on amd64.
«
Last Edit: September 10, 2015, 04:33:49 pm by franco
»
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: FreeRADIUS?
«
Reply #1 on:
September 01, 2015, 09:30:18 pm »
Hi JoeT,
Yes, there have been others requesting freeradius as well, but it's not in our ports collection yet.
There is an issue created on our github for this, but no guarantee on when it will arrive:
https://github.com/opnsense/tools/issues/17
Cheers,
Ad
Logged
JoeT
Newbie
Posts: 9
Karma: 4
Re: FreeRADIUS?
«
Reply #2 on:
September 01, 2015, 09:34:23 pm »
OK. So if I want to get FreeRADIUS on my server sooner rather than later, I need to compile from source then, is that my best option?
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: FreeRADIUS?
«
Reply #3 on:
September 01, 2015, 09:40:35 pm »
The easiest thing to do is probably to create the package yourself using our build system:
https://github.com/opnsense/tools
Our ports collection is almost standard FreeBSD and the list of ports to build can be found in:
tools/config/latest/ports.conf
I don't know by memory where freeradius lives in the tree, but if you add it to the ports config, it should automatically build it with the version available in our tree (which isn't the latest, but might be good enough, because we don't use it now).
Logged
JoeT
Newbie
Posts: 9
Karma: 4
Re: FreeRADIUS?
«
Reply #4 on:
September 01, 2015, 09:55:33 pm »
Uh oh, my BSD noobness is going to show here
Currently I've just got the one OPNSense machine, and it's in a production firewall/router setting. So I'm not going to do this on that machine. I don't have another BSD machine to do this on. I could set up a VM, that would probably be a good learning experience, but I'll need to do that at a different time.
I did quickly try to download the source straight from the FreeRADIUS site and compile that. I just did a "./compile" and it bombed on "configure: error: GNU Make is not installed.". So now I know I'm in unfamiliar territory. I'm completely unfamiliar with the BSD packaging system and "ports".
Anyway, to solve my immediate needs I'll get FreeRADIUS running on another machine. That'll give me time to figure this out later and/or wait for the official version.
Thanks again for the super quick replies and the helpful information! Take care.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: FreeRADIUS?
«
Reply #5 on:
September 10, 2015, 04:33:38 pm »
I've already poked around with freeradius on an OPNsense which worked fine, so now there's going to be freeradius3 available with the upcoming 15.7.12:
# pkg install freeradius3
Logged
JoeT
Newbie
Posts: 9
Karma: 4
Re: [SOLVED] FreeRADIUS?
«
Reply #6 on:
September 14, 2015, 03:00:40 pm »
Great, I look forward to testing it out. Thank you so much!
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: [SOLVED] FreeRADIUS?
«
Reply #7 on:
September 14, 2015, 04:11:40 pm »
No thanks needed for one line of code. Enjoy.
Logged
JoeT
Newbie
Posts: 9
Karma: 4
Re: [SOLVED] FreeRADIUS?
«
Reply #8 on:
December 22, 2015, 06:43:05 pm »
Sorry for the delay here. I was finally able to get back to this location and upgraded OPNSense / installed freeradius3. It's been running for a week or so and appears to be working great.
I know you said no thanks needed, but again I do greatly appreciate it.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: [SOLVED] FreeRADIUS?
«
Reply #9 on:
December 22, 2015, 09:21:38 pm »
Many thanks for the update!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] FreeRADIUS?