OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: protoss1976 on February 08, 2023, 09:47:51 am

Title: authenticated users and vouchers
Post by: protoss1976 on February 08, 2023, 09:47:51 am
Hello, in the zenarmor "Top Egress Users" report I would like to see the percentage of use of authenticated users, but I still see anonymous. I have 4 network cards (WAN, LAN, DIDACTICA, WIFI), I need to authenticate users with username and password for LAN and DIDACTICA, and with voucher for WIFI. I would like to see the username in the report and in the live views, but it always appears empty. I have to save the logs and keep them with the authentication name and with the voucher. Can anyone help me understand?
Title: Re: authenticated users and vouchers
Post by: beki on February 08, 2023, 12:32:56 pm
You must enable the Captive portal on your OPNsense and then define user-based filtering rules.
These guides may help you:

https://www.zenarmor.com/docs/guides/user-based-filtering-using-opnsense-captive-portal

https://www.zenarmor.com/docs/network-security-tutorials/how-to-configure-captive-portal-on-opnsense
Title: Re: authenticated users and vouchers
Post by: protoss1976 on February 08, 2023, 02:50:47 pm
I can't change the default policy because I have the free version, I had already done all the other configurations
Title: Re: authenticated users and vouchers
Post by: sy on February 10, 2023, 10:56:55 am
Hi,

You should see the usernames in the reports. But in the free version, it is limited to 5 usernames. Please check that Enable User Enrichment is enabled in Configuration - Privacy.