OPNsense Forum

English Forums => General Discussion => Topic started by: mohscorpion on October 15, 2018, 07:37:53 AM

Title: opnsense as utm with radius and log analysis
Post by: mohscorpion on October 15, 2018, 07:37:53 AM
hi
i want to replace my kerio with opnsense. i have tested opnsense and it performs very well but i need some features for my company.
1. authenticate users with AD( i have done that through access servers and LDAP) but it lacks accounting and quota specification
2. i need users access log so i setup web proxy and set authentication through radius but it lacks statistics for users like topweb sites , large files and so on
any advice how to set it up ?
i'd be thankful for any help
Title: Re: opnsense as utm with radius and log analysis
Post by: mimugmail on October 15, 2018, 08:47:31 AM
User based quota is not yet possible. Only daily session Limit. You could try proxy accounting via Sarg pkg, but there is no UI integration yet.
Title: Re: opnsense as utm with radius and log analysis
Post by: fabian on October 15, 2018, 06:38:00 PM
Quote from: mimugmail on October 15, 2018, 08:47:31 AM
You could try proxy accounting via Sarg pkg, but there is no UI integration yet.

What mimugmail wants to tell: You can use the nginx plugin to serve local content (for example HTML output generated by such a log analysis tool but you will also have to set up the cron job to update the stats)
Title: Re: opnsense as utm with radius and log analysis
Post by: mimugmail on October 15, 2018, 07:27:18 PM
Good idea :)
Title: Re: opnsense as utm with radius and log analysis
Post by: mohscorpion on October 18, 2018, 08:23:54 PM
i setup a separate radius server with accounting and so on
but here is what i wanna know
is bandwidth profile which is in radius supported in opnsense proxy server ?
also is traffic which is passed through proxy server registered in radius server?
also how can i provide access to own stats for each user and managers?
Title: Re: opnsense as utm with radius and log analysis
Post by: mimugmail on October 18, 2018, 10:31:01 PM
Radius bandwidth profiles for Proxy are not available. Also I never heard of commercial appliances supporting such features.
Title: Re: opnsense as utm with radius and log analysis
Post by: mohscorpion on October 19, 2018, 10:55:22 PM
are those bandwidth profiles applicable to opnsense itself?
also does proxy update accounting stats to radius?
Title: Re: opnsense as utm with radius and log analysis
Post by: mimugmail on October 20, 2018, 07:36:47 AM
No it's not supported, also squid itself doesnt support Radius accounting
Title: Re: opnsense as utm with radius and log analysis
Post by: mohscorpion on October 22, 2018, 06:31:30 PM
is there any solution to have radius accounting with squid?
Title: Re: opnsense as utm with radius and log analysis
Post by: mimugmail on October 23, 2018, 12:41:53 PM
No. If you can configure it manually in Linux or so, send me the config and I try to add it