OPNsense Forum

English Forums => General Discussion => Topic started by: djiofackd123 on February 24, 2021, 08:05:10 PM

Title: HOW TO USE BANDWIDTH CONTROL ON USERS ACCOUNT OF ACTIVE DIRECTORY IN OPNSENSE
Post by: djiofackd123 on February 24, 2021, 08:05:10 PM
hello to all,

i want to configure bandwidth control on my opnsense with users account of active directory and not with ip adresse such as describe in this documentation https://docs.opnsense.org/manual/how-tos/shaper_limit_per_user.html

need help pls
Title: Re: HOW TO USE BANDWIDTH CONTROL ON USERS ACCOUNT OF ACTIVE DIRECTORY IN OPNSENSE
Post by: lfirewall1243 on February 24, 2021, 08:43:27 PM
Quote from: djiofackd@yahoo.fr on February 24, 2021, 08:05:10 PM
hello to all,

i want to configure bandwidth control on my opnsense with users account of active directory and not with ip adresse such as describe in this documentation https://docs.opnsense.org/manual/how-tos/shaper_limit_per_user.html

need help pls
Where is your problem ?

By the way
Don't use your Email as public visible Username or do you want to get a lot of spam in the future ?
Title: Re: HOW TO USE BANDWIDTH CONTROL ON USERS ACCOUNT OF ACTIVE DIRECTORY IN OPNSENSE
Post by: tswalker on March 06, 2021, 06:11:11 PM
Quote from: djiofackd123 on February 24, 2021, 08:05:10 PM
...
i want to configure bandwidth control on my opnsense with users account of active directory and not with ip
...

this would require setting up limiters basicallly using separate pipes, queues, and rules in the traffic shaper.. and the rules are only protocol/port/IP based.
so, unless you can figure out a way via DHCP and using AD to assign IP by user (which i think is impossible).. there is no way to do this.

[edit]
here's something that you might be able to do if you move DHCP services over to AD:
https://www.serverbrain.org/network-infrastructure-2003/integrating-dhcp-with-active-directory.html