Disconnection after x hours of communication (rejected by FW rule)

Started by yakṣa, October 31, 2022, 09:16:49 AM

Previous topic - Next topic
hello,
I am the manager of a small office.

The hardware and SOFTWARE information I am using is as follows

HUNSN RJ09

J6413, AES-NI, 6 x intel 2.5GbE I226-V 16GB mem/SSD256GB
OPNsense 22.7.6-amd64
FreeBSD 13.1-RELEASE-p2
OpenSSL 1.1.1q 5 Jul 2022

I recently installed opnsense from appliance firewall to box PC and switched over and it is working well.
The other day, I received the following instruction from my manager.
The boss said, "I want you to set up a disconnect after 2 hours per day on communications from people playing games on their gaming consoles in the office."

I see that opnsense has a Schedule setting, but is there a way to say, "If a certain device starts communicating, we will disconnect after x hours"?

Please let me know if there is another way, such as adding a plugin.

Not that I'm aware of.  At least not from the "start" of usage.

The only way I could think of would be to force specific clients (i.e. via lists or vlans) to use a captive portal that the console would have to sign into before using and expires after a certain time.
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD